Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

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 reply
  • 1 has this problem
  • 1 view
  • Last reply by 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.

Chosen solution

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

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

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