Skip to content

Use the tooltip (when putting the mouse over the button) to indicate what types of scripts are in use on the page to facilitate decisions #13

@nekohayo

Description

@nekohayo

I love yesscript2, though there is one area where I find it a bit tricky to use: I always end up wasting a lot of clicks and reloads cycling between the various states because I don't know exactly what scripts a website uses.

Without suggesting that you turn yesscript into a noscript equivalent with per-script toggling, I think it would be quite helpful (and unobtrusive) to simply provide a bit more information, using the standard tooltip widget, when the mouse is over the states button.

So instead of just saying "YesScript2 no blocking", it could say something like this for example:

YesScript2 - no blocking
The scripts below are enabled.

18 internal scripts:

  • js/slider.js
  • js/lazyload.js
  • wp-content/theme/blah/banana.js
  • ...and 15 other scripts

7 external scripts:

  • 3 scripts from accounts.google.com
  • 2 scripts from github.githubassets.com
  • 1 script from kgb.ru

(it could maybe list all the internal scripts if less than 10 or something like that, in this case I limited myself to 3 just to keep the example short)

I would find that sort of functionality quite nice for making decisions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions