Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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

Extension is working in only certain tabs

  • 1 balasan
  • 0 ada masalah ini
  • 1 paparan
  • Balasan terakhir oleh MrQuackDuck

more options

I am developing an extension that will fix YouTube spacebar issue (after recent YouTube update after Alt Tabbing from other window, spacebar is not working to Pause/Play videos).

The problem is that my extension is not working anywhere except on https://www.mozilla.org.

I've already added "*://*.youtube.com/*" to "host_permissions" in my manifest.json file and it's displayed as "Can always read and change data on this site" on YouTube, but it does nothing. On https://www.mozilla.org my extension is activating properly (writes test message in console).

I added my extension on "about:debugging". Can it be related with that? Appreciate any help!

I am developing an extension that will fix YouTube spacebar issue ''(after recent YouTube update after Alt Tabbing from other window, spacebar is not working to Pause/Play videos)''. The problem is that my extension is not working anywhere except on '''https://www.mozilla.org'''. I've already added "*://*.youtube.com/*" to "host_permissions" in my '''manifest.json''' file and it's displayed as '''"Can always read and change data on this site"''' on YouTube, but it does nothing. On '''https://www.mozilla.org''' my extension is activating properly (writes test message in console). I added my extension on "about:debugging". Can it be related with that? Appreciate any help!
Lampirkan skrinsyot

Penyelesaian terpilih

I just figured it out! I needed to add "*://*.youtube.com/*" to "matches" "content_scripts". (Image below)

Baca jawapan ini dalam konteks 👍 0

All Replies (1)

more options

Penyelesaian Terpilih

I just figured it out! I needed to add "*://*.youtube.com/*" to "matches" "content_scripts". (Image below)