no-transition icon indicating copy to clipboard operation
no-transition copied to clipboard

Option to temporarily enable/disable per site or tab

Open sumyungguy opened this issue 7 years ago • 4 comments

Usually I leave CSS3 animation on, and temporarily disable it with this bookmarklet any time a web page causes a problem: https://github.com/stephen322/cssanim-bookmarklet

It works well if you stay on the same page and don't reload it. But it would be great to have the ability to disable animation in a tab, rather than the whole browser, and have it stay disabled until you close the tab.

For example, I can disable Javascript per-tab with Prefbar and it's "Javascript (tab)" button, or the Tab Permissions addon. I'd like to be able to do the same thing with CSS3 animations.

sumyungguy avatar Jul 22 '17 13:07 sumyungguy

What about a white/black list?

gagarine avatar Jul 24 '17 00:07 gagarine

Sorry, didn't see your proposition in #9 .

I don't want to make it to complicated. You don't think blackliste can works for you usecase? Somethings like "add this site in the blackliste"?

gagarine avatar Jul 24 '17 00:07 gagarine

From my experience with other addons for blocking Javascript or cookies for example, it's very useful to have a "temporarily block" option, in addition to "permanently blacklist". When there is only the option to permanently blacklist, then:

  1. The blacklist can get very large and difficult to manage, filled with sites that I only visited once, and probably never will again.
  2. A few times, I blacklisted a site to get rid of some annoyance. Then I came back to it much later, and could not understand why it wasn't working. I had forgotten that I had blacklisted it.

I thought about per-tab blocking because there are some addons that let you block Javascript per tab. But that's easy for Javascript because of docShell.allowJavascript. It's not so easy for animation I guess.

Maybe better than per-tab blocking, would be a temporary block that would apply to a site (domain) only as long as there is a tab open with that site. A bit like Self-Destructing Cookies works.

Another way could be temporarily for the browser session, so that blocking for the domain would last until the next browser restart. But I don't like that as much because I very rarely restart my browser. The concept of browser session is a 90s thing, when people powered off their computers after using them... Still, it would be better than having only permanent blocking.

sumyungguy avatar Jul 25 '17 01:07 sumyungguy

Maybe better than per-tab blocking, would be a temporary block that would apply to a site (domain) only as long as there is a tab open with that site. A bit like Self-Destructing Cookies works.

I like this approach. I was trying to avoid the need for a dropdown panel (menu) to keep it as a single on/off toggle button but I guess it's not going to be possible.

FYI: I will not have to much time in august, but I will be able to work on that in September.

gagarine avatar Jul 30 '17 23:07 gagarine