Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

I would like to load a custom javascript from my machine to have a toolbar button in firefox that allows me to set class tags to target on a webpage.

  • 1 ответ
  • 1 имеет эту проблему
  • 3 просмотра
  • Последний ответ от philipp

more options

I want to be able to create a java script function that allows me to target certain class names on specific websites. I want to make a custom button to initialize the function in the Mozilla toolbar. Similar to Adblock but as a toggle button so I can turn it on when i feel like it.

I want to be able to create a java script function that allows me to target certain class names on specific websites. I want to make a custom button to initialize the function in the Mozilla toolbar. Similar to Adblock but as a toggle button so I can turn it on when i feel like it.

Выбранное решение

hello Kalevera, you could build a simple extension to achieve that, but this will obviously go beyond the scope of this support forum.

for some resources to get started you could refer to https://developer.mozilla.org/en-US/Add-ons/SDK https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_button_toggle https://forums.mozilla.org/viewforum.php?f=7

Прочитайте этот ответ в контексте 👍 1

Все ответы (1)

more options

Выбранное решение

hello Kalevera, you could build a simple extension to achieve that, but this will obviously go beyond the scope of this support forum.

for some resources to get started you could refer to https://developer.mozilla.org/en-US/Add-ons/SDK https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/ui_button_toggle https://forums.mozilla.org/viewforum.php?f=7