Comments (4)
I'm open to a PR for sure! It's not my repo, but FWIW
I think the idea of a toggle (with like an X in the upper corner of the div-thingy) sounds nice, but making it draggable is cool too. Another idea I had was to make it switch to the top when you scrolled down within X% of the the bottom of the page, but I'm concerned that it'll be jerky and that introducing an event listener on the scroll
event is going to cause weird performance issues. There's no telling what is happening on the page to begin with, so if you inject some RAF-type scenario it could get crazy.
That brings up something else to consider: Keeping this in vanilla JS and not introducing dependencies is probably the best bet to avoiding unforeseen issues. Again, there's no telling what is on the page when you inject this JS.
@mrmrs what do you think? You tweeted you had some ideas...?
from pesticide.
+1
from pesticide.
@winkerVSbecks @bradleyflood Check the update I just pushed. Always off, hold control to see the banner. I think it's a pretty clean solution.
from pesticide.
awesome
from pesticide.
Related Issues (20)
- Similar idea to this :) HOT 1
- Gulp, Build Processes, Housekeeping
- Why does pesticide makes everything white when hovering? can it be disabled? HOT 1
- Firefox 57+ HOT 2
- Option to stay Turned On after page reloads
- Support the new FireFox
- Add hotkey to activate/deactivate the extension HOT 1
- Not working w/ Local Files HOT 74
- Is it possible to preserve Pesticide activation on hot reloading?
- Allow Disable Shadows in Chrome Extension
- How to quit?
- firefox extension link broken HOT 3
- new permissions google chrome extension permissions HOT 2
- Sometimes the ctrl's display is still behind and covered up by the elements HOT 1
- pesticide.io was hacked? HOT 3
- pesticide has been removed from chrome store? HOT 6
- toggle pesticide is to working
- Holding Ctrl button doesn't display anything
- Remove the displayed text at the bootom
- Feature request: Short cut hot key toggle extension
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pesticide.