lykahb / sticky-ducky

A browser extension that cleans pages of the sticky elements and shows them when needed. Fast and simple.
Other
19 stars 4 forks source link

Keep elements on their original place #2

Open rayman89 opened 7 years ago

rayman89 commented 7 years ago

could you add an option to make the addon automatically change the attribute so that the element stays on it's original place instead of hiding it?

lykahb commented 7 years ago

Basically this would be the effect as if the element did not have position fixed. This is an intuitive behavior and a nice option to have.

I experimented with this idea before. The extension has to work reliably on all websites. Setting position to any other value sometimes breaks the layout.

rayman89 commented 7 years ago

You could make it so the option appears per element on context menu after the user has tested it so it will only happen when the users says they want it to be remembered (aka users won't make the addon remember sites that get broken) and it can be easily forgotten by opening the context menu again and selecting the option to do so in case of a mistake or something.