Block Orientation Sensor Access

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

Aŭtoro
ka0us
Ĉiutagaj instaloj
0
Tutaj instaloj
13
Ratings
0 0 0
Versio
0.2
Kreita
2024/02/22
Ĝisdatigita
2024/02/22
Size
1,17 kb
Licenco
MIT
Aplikiĝas al
Ĉiuj retejoj

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.