Дополнения для браузера Firefox
  • Расширения
  • Темы
    • для Firefox
    • Словари и языковые пакеты
    • Другие версии браузера
    • Дополнения для Android
Войти
Предпросмотр AskBlocker

AskBlocker от Adam Lynch

Blocks overly-eager permission requests for notifications, location, etc. For example, before you've interacted with the page... unless it was previously granted/denied, you navigated to the page from another on the same domain, or if it's localhost.

0 (0 reviews)0 (0 reviews)
13 пользователей13 пользователей
Вам понадобится Firefox, чтобы использовать это расширение
Загрузите Firefox и установите расширение
Загрузить файл

Метаданные расширения

Скриншоты
Об этом расширении
Block overly-eager permission requests for notifications, location, etc. For example, ones that happen before you've interacted with the page. This was created as part of How to improve your permissions UX.

How it works:

Permissions requests are blocked until you've interacted with the page; i.e. click, tap, or key press. Although there are the following exceptions:

- If the permission has been previously requested and granted (or explicitly denied).
- If the domain is `localhost` or `127.0.0.1`.
- If you've navigated to the current page from another page on the same domain.

Things not covered and why:

- Accelerometer, gyroscope, magnetometer, device motion, device orientation, etc. They don't trigger a permissions request popup.
- Ambient light sensor. It doesn't trigger a permissions request popup.
- Bluetooth. This can only be requested due to user interaction anyway.
- Clipboard. It doesn't trigger a permissions request popup.
- Flash. I don't know how the prompt is triggered or how I can intercept this.
- Geolocation's `watchPosition` method. There's no way to achieve this without breaking stuff. It returns an ID and it doesn't offer any way to check the status of the permission, like `Notification.permission`. The Permission API could be used but it's asynchronous (Promise based), so there's no way to use it and also still return the ID.
- Web USB. Not really supported yet (and the Permission API doesn't support it yet), so it probably won't be annoying anyone.
Оценено 0 рецензентами на 0
Войдите, чтобы оценить это расширение
Оценок пока нет

Рейтинг сохранён

5
0
4
0
3
0
2
0
1
0
Пока отзывов нет
Разрешения и данныеПодробнее

Требуемые разрешения:

  • Получать доступ к вашим данных на всех сайтах
Больше сведений
Ссылки дополнения
  • Домашняя страница
  • Страница поддержки
  • Эл. почта поддержки
Версия
1.0.8resigned1
Размер
70,8 КБ
Последнее обновление
год назад (25 апр. 2024 г.)
Связанные категории
  • Веб-разработка
  • Приватность и защита
  • Другое
Лицензия
Лицензия MIT
История версий
  • Просмотреть все версии
Добавить в подборку
Пожаловаться на это дополнение
Другие расширения от Adam Lynch
  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

  • Оценок пока нет

Перейти на домашнюю страницу Mozilla

Дополнения

  • О сайте
  • Блог дополнений для Firefox
  • Мастерская расширений
  • Центр разработчика
  • Политики разработчика
  • Блог Сообщества
  • Форум
  • Сообщить об ошибке
  • Руководство по написанию отзывов

Браузеры

  • Desktop
  • Mobile
  • Enterprise

Продукты

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Приватность
  • Куки
  • Юридическая информация

За исключением случаев, описанных здесь, содержимое этого сайта лицензировано на условиях лицензии Creative Commons «Атрибуция — На тех же условиях» версии 3.0 или любой более поздней версии.