当前位置:网站首页>Click the screen with your finger to simulate F11 and enter the full screen
Click the screen with your finger to simulate F11 and enter the full screen
2022-07-01 09:19:00 【What about your long love~】
window.onclick = document.onclick = function (e) {
fullScreen();
}
function fullScreen() {
var el = document.documentElement;
var rfs = el.requestFullScreen || el.webkitRequestFullScreen ||
el.mozRequestFullScreen || el.msRequestFullScreen;
if (typeof rfs != "undefined" && rfs) {
rfs.call(el);
} else if (typeof window.ActiveXObject != "undefined") {
//for IE, This is actually a simulation of pressing the keyboard F11, Make the browser full screen
var wscript = new ActiveXObject("WScript.Shell");
if (wscript != null) {
wscript.SendKeys("{F11}");
}
}
}
html You don't need to write anything , Use only this paragraph js That's all right.
边栏推荐
- Principle and application of single chip microcomputer timer, serial communication and interrupt system
- nacos简易实现负载均衡
- Pain points and solutions of fixed assets management of group companies
- ES6 decoupling top-level objects from windows
- Meituan machine test in 2022
- JS rewrite their own functions
- 韦东山板子编译内核问题解决
- laravel postman 提交表单出现419错误。2020年7月6日记。
- 3D printing Arduino four axis aircraft
- js valueOf 与 toString 区别
猜你喜欢

Why is the Ltd independent station a Web3.0 website!

nacos简易实现负载均衡

小鸟识别APP

An overview of the design of royalties and service fees of mainstream NFT market platforms

Pain points and solutions of equipment management in large factories

Principle and application of single chip microcomputer timer, serial communication and interrupt system
![2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data](/img/6e/d8ef618127ac492f5142f7b600266d.png)
2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data

dsPIC30F6014a LCD 方块显示

FAQ | FAQ for building applications for large screen devices

树结构---二叉树2非递归遍历
随机推荐
js 使用toString 区分Object、Array
【pytorch】2.4 卷积函数 nn.conv2d
2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data
LeetCode 344. Reverse string
js原型继承仅可继承实例而非构造器
Class loading
Simple load balancing with Nacos
Tree structure -- binary tree 2 non recursive traversal
【pytorch】transforms. Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于阿里云、小程序、Arduino的WS2812灯控系统
Nacos service configuration and persistence configuration
An overview of the design of royalties and service fees of mainstream NFT market platforms
Naoqi robot summary 28
树结构---二叉树2非递归遍历
Pain points and solutions of equipment management in large factories
Installation and use of NoSQL database
JS functionarguments object
类加载
Pain points and solutions of fixed assets management of group companies
Youqitong PE toolbox [vip] v3.7.2022.0106 official January 22 Edition