News for hackers. Stuff that matters.
Re:A day without JavaScript by WorkLobster on Wednesday June 07, 2017 @08:10AM (#14505581)
Having browsed nearly JS-free for the last two-ish years, aside from a bit of tweaking at the start, I have to say that it has made things a lot faster, more stable, and just much more of a pleasure to navigate. If anyone is interested, I have found that two tools make life a lot easier:

- NoScript, which blocks execution of scripts save for those you whitelist. This means sites that reasonably require JS (e.g. YouTube, Google Maps) can remain functional.

- A bookmarklet that redirects you to the Google text-only cache of the current page, which is great for text-based articles that inexplicably require JS to show content.

Re:A day without JavaScript by atriix on Wednesday June 07, 2017 @12:11PM (#14507541)
uMatrix [0] "Point and click matrix to filter net requests according to source, destination and type" is also nice.

0: https://github.com/gorhill/uMatrix

Re:A day without JavaScript by pmlnr on Wednesday June 07, 2017 @08:28AM (#14505719)
Would you mind sharing that bookmarklet?
Re:A day without JavaScript by WorkLobster on Wednesday June 07, 2017 @08:31AM (#14505739)
Sure:

    javascript:(function()%7Bvar%20loc%3Dwindow.location%3Bif%20(window.location.protocol%20!%3D%20%22https%3A%22)%7Bloc%3Dwindow.location.toString().replace(%2F%5Ehttp%3A%5C%2F%5C%2F%2F%2C'http%3A%2F%2Fwebcache.googleusercontent.com%2Fsearch%3Fq%3Dcache%3A')%3B%7Delse%7Bloc%3Dwindow.location.toString().replace(%2F%5Ehttps%3A%5C%2F%5C%2F%2F%2C'https%3A%2F%2Fwebcache.googleusercontent.com%2Fsearch%3Fq%3Dcache%3A')%3B%7Dwindow.location.replace(loc%20%2B%20'%26num%3D1%26strip%3D1%26vwsrc%3D0')%7D)()
Glancing at it, it just seems to drop the webcache URL in front of the current page location. Credit to http://www.localseoguide.com/easily-check-the-text-only-cach..., if I recall correctly.
Re:A day without JavaScript by Zenbit_UX on Saturday June 10, 2017 @09:41AM (#14527267)
My main issue with having no script on is for website checkouts. Especially when buying flight tickets. A lot of sites will introduce new scripts in the middle of a stepper that you didn't need to complete step 1. Now you can't submit step 2 or 3 and when you allow the new scripts the page reloads and you lose all your form data.
Re:A day without JavaScript by bitwize on Wednesday June 07, 2017 @08:42AM (#14505837)
NoScript doesn't actually work half the time; even when you whitelist a site through it the site could well remain busted. Source: bitter experience.
Re:A day without JavaScript by asfdsfggtfd on Wednesday June 07, 2017 @09:27AM (#14506204)
Presumably this occurs when the site uses a CDN for their js libraries (or even their main js). After a few days you start to spot which domains need to be enabled and which can be safely ignored.
Re:A day without JavaScript by flukus on Wednesday June 07, 2017 @08:24PM (#14510967)
Can you whitelist a CDN but only for a specific site?
Re:A day without JavaScript by digi_owl on Thursday June 08, 2017 @05:19AM (#14512944)
Best i recall, even if you whitelist a CDN it only comes into action if you whitelist the root domain of the site you are visiting.

Beyond that i guess there is GRE, where you can build "firewall" rules.

For example i have Facebook blocked via it unless i visit Facebook.com directly, thus they don't see me browsing all manner of sites via their like buttons and comment boxes.

Re:A day without JavaScript by ratherbefuddled on Wednesday June 07, 2017 @08:48PM (#14511060)
Depends on your blocker. uBlock Origin does this well.
Re:A day without JavaScript by kwhitefoot on Wednesday June 07, 2017 @09:54AM (#14506437)
Where can we get the bookmarklet from?