NiklasGollenstede / unload-tabs

WebExtension that unloads tabs and prevents tabs from loading
https://addons.mozilla.org/addon/unload-tabs/
Mozilla Public License 2.0
69 stars 13 forks source link

Dim unloaded tabs CSS no longer works with firefox 69 #32

Closed flying-sheep closed 4 years ago

flying-sheep commented 4 years ago

I had to replace

@-moz-document url(chrome://browser/content/browser.xul) {

with

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
NiklasGollenstede commented 4 years ago

Ah, yes. I ran into this before, but forgot to update it here as well. Thanks for pointing it out!

The problem is that the main UI file was renamed, from browser.xul to browser.xhtml. Your fix also kind-of works because it completely removes the file name restriction (but it makes the style slightly less efficient, because the browser now also tries to apply it to other UI elements). Also, the namespace might very well change to HTML in the foreseeable future, so I think it is safer not to include one.

NiklasGollenstede commented 4 years ago

Ok, new version with updated CSS code and instructions is submitted to addons.mozilla.org!

flying-sheep commented 4 years ago

Great, thank you!