GoogleChromeLabs / ProjectVisBug

FireBug for designers › Edit any webpage, in any state https://a.nerdy.dev/gimme-visbug
https://visbug.web.app
Apache License 2.0
5.46k stars 286 forks source link

Add no mouse days plugin #468

Closed argyleink closed 3 years ago

argyleink commented 3 years ago

https://github.com/marcysutton/no-mouse-days

Let VisBug load and init this on a page

lavyda commented 3 years ago

Hi, I'd like to help with this feature 🙂

argyleink commented 3 years ago

Awesome, thank you! ❤️

I can help streamline your work and offer a few pointers? like to this wiki page 🙂

I just tested that unpackage will allow us to grab the no-mouse-days npm package with https://unpkg.com/no-mouse-days@latest, which means you can pretty much copy the tota11y plugin I think!

Let me know how it goes and how I can make it easier.

lavyda commented 3 years ago

Thanks for hints! I already created PR (#494) Since plugin is enabled by default on widow load and we are loading module dynamically, I enabled it by explicitly calling window.onload function after importing module. Hopefully this solution is ok :blush:

argyleink commented 3 years ago

lovely work! works like a charm, so cool!