Stylus: Add feature: middle click on/off

Created on 12 Feb 2017  路  7Comments  路  Source: openstyles/stylus

Please add feature: middle click on button will turn on/off styles for that page.

Instead of popup, then click little checkbox, etc. This way quicker.

If more than one style for the page, then on/off the first one.

Most helpful comment

We should probably add an info block in Manage styles page with a short gif or at least a screenshot like this.

All 7 comments

Extensions API doesn't provide any method of detecting middle clicks in the toolbar icon.

However, we can add a customizable hotkey (not defined by default I guess) just like the one we already have to turn all styles off.

@tophf Oh I understand. Is unfortunate 馃槥

We can still use right button, because it has "all on/off" function. But that menu is "messy".

Thanks for making this fork, the original was ugly.

I like the idea of toggling styles for just the current tab via a hotkey though and I think we should implement it. All active styles should be toggled because toggling just the first one doesn't seem really practical.

No default hotkey should be specified in manifest.json just like with our other hotkeys.

That being said, the global On/Off toggle hotkey has always been sufficient for my needs because I use it only occasionally just for a brief moment to see the original appearance and immediately toggle back.

@tophf Which is the global hotkey? I did not know of this feature.

chrome_2017-02-12_23-19-24

We should probably add an info block in Manage styles page with a short gif or at least a screenshot like this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xt0rted picture xt0rted  路  51Comments

narcolepticinsomniac picture narcolepticinsomniac  路  75Comments

catcat520 picture catcat520  路  26Comments

kristofferR picture kristofferR  路  24Comments

whyseman picture whyseman  路  30Comments