aboutsummaryrefslogtreecommitdiff
path: root/README.org
blob: 51eee062bac382fe2dff9d5bb70390ed7080fc1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
* Rationale

Many sites break down completely and do not function at all if you
will not execute their javascript. However, some sites like [[http://www.ebay.com/][ebay]] can
function in part without javascript, but refuse to cooperate and
hinder the user by covering the page with a [[http://www.w3schools.com/tags/tag_noscript.asp][noscript]] mask that blocks
the user from accessing anything on it. So, to get around the problem,
I wrote a trivial ([[http://www.greasespot.net/][greasemonkey]]) user script to remove the noscript
mask by setting its [[http://www.w3schools.com/cssref/pr_class_display.asp][CSS display property]] to /none/.

#+CAPTION: ebay.com with noscript mask
#+ATTR_HTML: :alt ebay.com with noscript mask
[[tree:ebay-with-noscript-mask.jpg]]

#+CAPTION: ebay.com with noscript mask removed by greasemonkey user script
#+ATTR_HTML: :alt ebay.com with noscript mask removed by greasemonkey user script
[[tree:ebay-without-noscript-mask.jpg]]

Since I wrote this script, I have noticed that [[https://noscript.net/][NoScript]] has a checkbox
"Hide <NOSCRIPT> elements" under /Options -> Advanced -> Untrusted/
that lets you do what this script does. As such, this script is
unnecessary. However, in the unlikely situation that you want to
target ebay specifically instead of globally targeting all sites, you
can still use this script.

* Get the script

- from [[https://greasyfork.org/en/scripts/22749-remove-noscript-mask-on-ebay][Greasy Fork]]
- directly from [[tree:remove-noscript-mask-on-ebay.user.js][this git repo]]

* License

The source code is in the public domain.