RemoveJS – Remove JavaScript from any website
remove-js.com
remove-js.com
Feels like throwing the baby out with the bath water.
Looking at HN, which uses js for voting, can be replaced with the olde-school form submission method (at increased page reloads etc), so clearly JS is doing us a favor.
But many sites we visit are consume only (blogs and news) and the rest are generally what we interact with only very infrequently (HN, fb, twitter). It's a rare site that actively needs js (excluding all those react/vue architected sites) that doesn't need human interaction on the first place (eg slack and chat sites that need streaming/comet server responses)
Random thought: Maybe we could investigate a methodology of "jit" for js in response to human interaction. Browsers already do this to limit access to the clipboard functionality. That is, js will run only if the user clicks on a button, etc, but is otherwise dormant (even document.onload would be delayed until first click). Anything else would require permission to run. Of course, this would break the web as it exists now.
The JS here is is an optional enhancement that does the vote in the background. Disable JavaScript and voting still works, it just causes the page to reload. (Aside: it works by using links, but forms so that it’s a POST would be better.)
My issue is with people who complain that a site doesn't work without javascript. All I can think to say is "ya so?".
I don't mean to sound petulant, I really don't.
But it's one of these things that the general market has decided is optimal. Not for build sizes but for building in general.
I think really it comes down to where you draw the line between “document” and “application”. A document should probably work fine without needing to run any additional code. For an application, I don’t think that’s a reasonable request.
By conflating our position with "well, just turn your computer off!" you're constructing a strawman.
Oh, boy. This early? The link is on HN for less than an hour and the site already panicked.
I will have to make an iOS bookmarklet for this since Apple doesn't allow disabling JS on a per site basis.
[0] https://remove-js.com/https://medium.com/the-write-brain/how...
remove-js.com just strips out the <script> tags, so the noscript tag remains, it just doesn't know to do anything.
I created it to help show clients how their website behaves without Javsascript support.
I used to use the "print view" page those sites used to have, but that seems to be a thing of the past, so this might be a good replacement.
I guess, is going to break easily with the free cloudflare quota ;)
CSS seems to break somewhat. Does hacker news rely on JS for CSS styling?
Base URL: https://news.ycombinator.com/item?id=25276193
Relative URL: news.css?7xnRK0pv8n1Oh7woNqhn
Correct resolved URL: https://news.ycombinator.com/news.css?7xnRK0pv8n1Oh7woNqhn
Actual resolved URL: https://news.ycombinator.com/item?id=25276193/news.css?7xnRK0pv8n1Oh7woNqhn• Parse according to the URL Standard: https://url.spec.whatwg.org/
• Use the correct base URL: https://html.spec.whatwg.org/#document-base-url; this means largely “take the first base element with an href attribute, if it exists; if so, resolve its href attribute relative to the document URL; otherwise, use the document URL”.
Note the id element. Then, notice that the span that appears immediately before your comment has an ID too: unv_25277197. With those two pieces, adding a URI fragment is enough to get back to the right place.
javascript:window.location.href='http://remove-js.com/'+window.location.href
Is there a similar service to this where I can access these services like Netflix or Uber without being spied on?