JavaScript and cookie webextensions

Talk about add-ons and extension development.
Posts: 2
Joined: May 21st, 2017, 5:49 am

Post Posted June 20th, 2017, 3:12 pm

I would like to make 2 webextensions.
One is to set “javascript.enabled”, another is to set “network.cookie.cookieBehavior”.
Now I use PrefBar with Cookie Behavior Menulist for it, but PrefBar will stop in the near future.
I can only make basic html and never used css nor JavaScript.
Please a step by step solution.

Posts: 3664
Joined: September 15th, 2010, 9:03 am

Post Posted June 21st, 2017, 2:43 am

Mozilla state that access to preferences from WebExtensions is "very unlikely": ... hnology.3F

Please don't shoot the messenger ;)

Posts: 2958
Joined: February 3rd, 2009, 6:29 pm

Post Posted June 21st, 2017, 7:21 am

The Toggle JavaScript extension uses the chrome.contentSettings.javascript property. ... fhljffbnlo ... javascript

The chrome.contentSettings api is not available in WebExtensions.

Return to Extension Development

Who is online

Users browsing this forum: No registered users and 1 guest