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

Separate "Dim unloaded tabs" and "Add context menu" options for the Tree Style Tab integration #21

Open BreadYogurt opened 6 years ago

BreadYogurt commented 6 years ago

I want the context menu options in Tree Style Tab but I'd rather not have the tabs dimmed, as I already have CSS to tell unloaded tabs apart from loaded ones.

NiklasGollenstede commented 6 years ago

For now I added an hidden option to set the style supplied to TST: c9b70fb6d2e5905efa709af7a3ad540b4cfde02b To use it, install the dev build, go to about:debugging, look for UnloadTabs - DEV, click the Manifest URL link, replace the manifest.json URL suffix with UnloadTabs, open the console (Ctrl+Shift+K), type/paste:

background.options['intregrate.tst'].children.style.value = ''

to set the unloaded tab to the empty value (default is '.tab.discarded { opacity: 0.6; }') and re-enable the TST option.

This should solve your problem and give me time to think about a proper solution.

RobertAb1 commented 5 years ago

Do you need Bug 1320585 fixed to get "Unloaded tab style - opacity" function ready? Or is there another bug necessary here?

NilsIrl commented 4 years ago

I think this can be closed because there's now an option for tabs in TST to not dim.