Block Orientation Sensor Access

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

Δημιουργός
ka0us
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
13
Βαθμολογίες
0 0 0
Έκδοση
0.2
Δημιουργήθηκε την
22/02/2024
Ενημερώθηκε την
22/02/2024
Μέγεθος
1 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.