当前位置:网站首页>Ignore wechat font settings
Ignore wechat font settings
2022-07-29 02:09:00 【kilito_ 01】
// Ignore wechat font settings
function ignoreWechatFontSize() {
if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
handleFontSize();
} else {
if (document.addEventListener) {
document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
} else if (document.attachEvent) {
document.attachEvent("WeixinJSBridgeReady", handleFontSize);
document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
}
}
}
function handleFontSize() {
// Set the page font to the default size
WeixinJSBridge.invoke('setFontSizeCallback', {
'fontSize': 0
});
// Overriding events that set the font size of a web page
WeixinJSBridge.on('menu:setfont', function() {
WeixinJSBridge.invoke('setFontSizeCallback', {
'fontSize': 0
});
});
}
边栏推荐
- What is browser fingerprint recognition
- JetPack--Navigation实现页面跳转
- JVM内存溢出在线分析Dump文件以及在线分析打开.hprof文件得出JVM运行报告jvisualvm怎么在线分析
- [7.21-26] code source - [sports festival] [Dan fishing war] [maximum weight division]
- druid. io kill -9 index_ Realtime traceability task
- Leetcode 112: path sum
- Nine days later, we are together to focus on the new development of audio and video and mystery technology
- Golang run times undefined error [resolved]
- 12.< tag-动态规划和子序列, 子数组>lt.72. 编辑距离
- 数学建模——红酒品质分类
猜你喜欢

基于 ICA 与 DL 的语音信号盲分离

The basic concept of transaction and the implementation principle of MySQL transaction
![Golang startup error [resolved]](/img/9c/c4757c73d4acd8edf22afa8107fb66.png)
Golang startup error [resolved]

Blind separation of speech signals based on ICA and DL

How companies make business decisions -- with the help of data-driven marketing

一文读懂Okaleido Tiger近期动态,挖掘背后价值与潜力

(CVPR-2019)选择性的内核网络

Nine days later, we are together to focus on the new development of audio and video and mystery technology
![[the road of Exile - Chapter 6]](/img/cd/408118f43dbda2e6367b328a1c20fc.png)
[the road of Exile - Chapter 6]
![[golang] network connection net.dial](/img/8d/7ef64cb63cbd230e5ac1655b86786f.png)
[golang] network connection net.dial
随机推荐
Covering access to 2w+ traffic monitoring equipment, EMQ creates a new engine for the digitalization of all elements of traffic in Shenzhen
IDEA 连接 数据库
2022年编程语言排名,官方数据来了,让人大开眼界
Anti crawler mechanism solution: JS code generates random strings locally
Blind separation of speech signals based on ICA and DL
数学建模——红酒品质分类
控制输入框弹出弹窗 和不弹出窗口
Qt源码分析--QObject(4)
什么是作用域和作用域链
E-commerce keyword research helps data collection
(CVPR-2019)选择性的内核网络
FPGA实现10M多功能信号发生器
Use POI to export excel file, image URL to export file, image and excel file to export compressed package
LeetCode 练习——剑指 Offer 45. 把数组排成最小的数
Mysql存储json格式数据
忽略微信设置字体
数学建模——公交调度优化
[MySQL] SQL aliases the table
Yocto project download and compilation
h5背景音乐通过触摸自动播放