5 ms·
You can still do things like being able to get the battery status with JS or detect visited links.
by snakeanus 9y ago
You can still do things like being able to get the battery status with JS or detect visited links.
- tempay 9y ago> detect visited links Is this still possible? I was under the impression this is prevented in most browsers.
- synthmeat 9y agoAlso wrt battery status - that's only Chrome thing these days. http://caniuse.com/#feat=battery-status http://caniuse.com/#feat=battery-status
- snakeanus 9y agoFor firefox there is dom.battery.enabled and https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API https://developer.mozilla.org/en-US/docs/Web/API/Battery_Sta... but it seems that since 42 it is enabled only for addons. It seems that I was wrong about that indeed.
- Aissen 9y agoWell, browser vendors keep adding features, and in 2014, it was predicted by lcamtuf that the mix-blend-mode property would be useful to access browser history: https://lcamtuf.blogspot.fr/2016/08/css-mix-blend-mode-is-bad-for-keeping.html https://lcamtuf.blogspot.fr/2016/08/css-mix-blend-mode-is-ba... Two years later, it was implemented, and the demo seems to be working here in Firefox 56: http://lcamtuf.coredump.cx/whack/ http://lcamtuf.coredump.cx/whack/
- withjive 9y agoNewer versions (since around 2013) of webkit and gecko limit a:visited style changes to just colour or background colour. So the getComputedStyle() trick doesn't work anymore. Is that what your referring to?