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,2 КБ
Лицензия
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.