Hacker News new | ask | show | jobs
by amyjess 4036 days ago
I really wish there was a way to globally disable all lightboxes without having to disable JavaScript entirely.

Maybe a Machine Learning model to prevent scripts from executing if the classifier indicates it will spawn a lightbox...

3 comments

Something as simple as checking that nothing dynamic blocks too much text would detect most of them currently.

But it quickly turns into a cat-and-mouse game.

That would stop any drop-down menu navigation bars from working though.
Love this idea. Would like to add that I'd love to block any fixed topnav that stays on the screen as you scroll down.
I, too, wish there were a feature that would break Web applications that use modals for marginal benefit.