Block Orientation Sensor Access

Blocks websites on Safari mobile from accessing iPad's Orientation sensors. (22/2/2024)

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
ka0us
日安装量
0
总安装量
14
评分
0 0 0
版本
0.2
创建于
2024-02-22
更新于
2024-02-22
大小
1.2 KB
许可证
MIT
适用于
所有网站

This is a script to block access on Orientation Sensor data on Safari mobile.
Tested on iPad, could work on iPhone too.
I made this to work with Wemod website and it works.
So I've added an asterisk in a attempt to work anywhere but didn't test it.

Requires 'UserScripts' extension.


PS: This is my first script in js.
So, feel free to use it and optimize it if you want.