News for hackers. Stuff that matters.
Re:A timing attack with CSS selectors and JavaScript by EastSmith on Sunday October 07, 2018 @09:27AM (#18160424)
Cool hack.

May be it is time for browsers to disable iframes by default and ask the end user if they want to run them via the standard browser confirmation mechanisms site by site.

Re:A timing attack with CSS selectors and JavaScript by gsnedders on Sunday October 07, 2018 @11:22AM (#18160988)
And then you have a confirmation on almost every page, and then you run into dialog box fatigue where users will blindly click through them, and you've gained nothing.
Re:A timing attack with CSS selectors and JavaScript by JustThrowMeAway on Sunday October 07, 2018 @11:02AM (#18160888)
Sites can already send an 'X-Frame-Options: deny' header to prevent being framed.
Re:A timing attack with CSS selectors and JavaScript by lol768 on Sunday October 07, 2018 @02:35PM (#18161968)
Or use CSPv2's frame-ancestors.
Re:A timing attack with CSS selectors and JavaScript by nerdponx on Sunday October 07, 2018 @10:01AM (#18160567)
There are so many individual pieces of HTML and JS that I wish I could do this with. Mostly web APIs. On a URL-by-URL basis.
Re:A timing attack with CSS selectors and JavaScript by gcb0 on Sunday October 07, 2018 @10:22AM (#18160664)
you all should install uMatrix webextension and stop just "wishing". the future is now :)
Re:A timing attack with CSS selectors and JavaScript by notriddle on Sunday October 07, 2018 @03:57PM (#18162334)
Did they fix the problem where disabling javascript didn't enable the `<noscript>` tag?
Re:A timing attack with CSS selectors and JavaScript by nerdponx on Sunday October 07, 2018 @10:33AM (#18160716)
Does uMatrix let me block specific JS web APIs and HTML elements like iframes? It never could in the past.
Re:A timing attack with CSS selectors and JavaScript by gcb0 on Sunday October 07, 2018 @03:00PM (#18162092)
yes. I block iframes globally and the web never been better.

it will show a checkered pattern with a link to open the frame in another window. so you don't even have to whitelist sites or anything. if you care about the frame, like for a embedded video, just open it on its own tab with a single click

Re:A timing attack with CSS selectors and JavaScript by clear_dg on Sunday October 07, 2018 @11:15AM (#18160947)
uMatrix can block frames and js requests on a domain/sub-domain level. afaik, it can't block at url level, if that's what you meant.

That said, uMatrix, from what I remember, uses the webRequest api which does work from urls. So if you know JS, you can always create an extension and add your own filter.

Re:A timing attack with CSS selectors and JavaScript by nerdponx on Sunday October 07, 2018 @04:18PM (#18162420)
To be clear, on the JS side I'm talking about providing whitelist-only access to things like the ambient light level, which is provided through a standardized browser API.