Skip to content

Commit be3ffa3

Browse files
committed
Update
1 parent 09e205f commit be3ffa3

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

annoyance-level-warning.user.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
2-
// @name Cross off the links with CAPTCHA/PoW annoyance
2+
// @name Label the links with CAPTCHA/PoW annoyance
33
// @description Helps to prefer visiting sites that aren't associated with the irrational businesses that keep "fighting" the spammy traffic by disrupting the UX with cringe challenges (rather than transforming the traffic into useful (UPoW) and profitable computations) as well as sites with PoW-based DDoS-protection pages (useless anti-ecological computations).
4-
// @version 0.2
4+
// @version 0.3
55
// @downloadURL https://userscripts.codonaft.com/annoyance-level-warning.user.js
66
// @grant GM.getValue
77
// @grant GM.xmlHttpRequest
@@ -36,22 +36,21 @@ GM_addStyle(`
3636
position: relative;
3737
}
3838
.${RECORD_KEY}::after {
39-
font-size: 2rem;
39+
font-size: 0.8rem;
4040
content: "🤖";
4141
position: absolute;
4242
top: 50%;
43-
left: 50%;
44-
transform: translate(-50%, -50%);
45-
z-index: 1;
46-
opacity: 0.3;
43+
left: 20%;
44+
transform: translate(-80%, -50%);
45+
z-index: -1;
4746
}
4847
.${RECORD_KEY}:hover {
4948
opacity: 1 !important;
5049
text-decoration: none !important;
5150
}
5251
.${RECORD_KEY}:hover::after {
53-
content: "";
54-
opacity: 0.1;
52+
opacity: 0.3 !important;
53+
z-index: 1;
5554
}
5655
.${RECORD_KEY}_${LEVEL_POW} {
5756
opacity: 0.7 !important;
@@ -242,7 +241,7 @@ subscribeOnChanges(b, 'p[class="h2"]', (node, observer) => {
242241
return true;
243242
});
244243

245-
subscribeOnChanges(b, 'div.amzn-captcha-modal, div#captcha-container', (node, observer) => {
244+
subscribeOnChanges(b, 'div.amzn-captcha-modal, div#captcha-container', (_node, observer) => {
246245
if (document.querySelector(AWS_SCRIPT)) {
247246
observer.disconnect();
248247
console.warn('captcha started');

0 commit comments

Comments
 (0)