Where would it be best to control an addons allowed sites?

Talk about add-ons and extension development.
Posts: 75
Joined: November 16th, 2006, 11:16 am
Location: Accra

Post Posted June 29th, 2019, 1:46 am

I want to control the domains accessible by addons which work on all pages by extending them with additional code which looks up a list of domains updatable by the user and disables the addon from proceeding further if the current page is not on the list.

For many addons where would be the best place in the call cycles to insert such code? I assume that there are some common calls most addons use where it would be a good idea to call such code.

eg. uBlock Origin allows the user to disable it on certain pages, so I am sure other addons can be modified to do the same.

Return to Extension Development

Who is online

Users browsing this forum: No registered users and 2 guests