On Aug 14th 11 PM ET/Aug 15th 03:00 UTC, due to scheduled Firefox Account server maintenance, users may not be able to sign in or create a new subscription. This is expected to last approximately 30 minutes. Status updates can be found at https://status.vpn.mozilla.org or https://status.relay.firefox.com.

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Javascript for temporary extensions just doesn't work

  • 3 uphendule
  • 1 inale nkinga
  • 9 views
  • Igcine ukuphendulwa ngu clarke980

more options

Hopefully this is the appropriate place to ask. Javascript just doesn't seem to work for temporary extensions. When I couldn't get my own extension to work, I tried to follow the tutorial in "Your second extension" (link) and it also just doesn't work. HTML and CSS load just fine but it's none functional. I can't even get a simple log out to console.

I just updated to Windows 11 a few days ago. Is it possible there is some setting I changed a long time ago that is causing this behavior?

Hopefully this is the appropriate place to ask. Javascript just doesn't seem to work for temporary extensions. When I couldn't get my own extension to work, I tried to follow the tutorial in "Your second extension" [https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_second_WebExtension (link)] and it also just doesn't work. HTML and CSS load just fine but it's none functional. I can't even get a simple log out to console. I just updated to Windows 11 a few days ago. Is it possible there is some setting I changed a long time ago that is causing this behavior?

All Replies (3)

more options

Did you try this in a new profile ? Did you check the Browser Console for relevant messages ?

more options

You also can click the Inspect button for the temporarily loaded extension on the about:debugging page. This has a console that gathers messages from your background script and probably the Browser Action, but messages from content scripts are more likely to appear in the page's Web Console.

more options

cor-el said

Did you try this in a new profile ? Did you check the Browser Console for relevant messages ?

jscher2000 said

You also can click the Inspect button for the temporarily loaded extension on the about:debugging page. This has a console that gathers messages from your background script and probably the Browser Action, but messages from content scripts are more likely to appear in the page's Web Console.

I hae done both of these, the browser console and the console brought up through clicking Inspect on the about:debugging page. The only thing that ever shows up is the html in the Inspect page, anything relating to js, be it console information or just information about scripts in general is entirely blank