aboutsummaryrefslogtreecommitdiff
path: root/fuck-hn.js
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-09-09 18:37:29 -0600
committerMelody Horn <melody@boringcactus.com>2020-09-09 18:37:29 -0600
commitd1d65d5d64ea7fc1418c607d12c675113da9513a (patch)
tree5e7c898a6691372e1343be492ff71ab57d85c415 /fuck-hn.js
parentc9e464023b3c8b5d3bf529f583dcd0ee81457cb7 (diff)
downloadboringcactus.com-d1d65d5d64ea7fc1418c607d12c675113da9513a.tar.gz
boringcactus.com-d1d65d5d64ea7fc1418c607d12c675113da9513a.zip
fuck HN all my homies hate HN
Diffstat (limited to 'fuck-hn.js')
-rw-r--r--fuck-hn.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/fuck-hn.js b/fuck-hn.js
new file mode 100644
index 0000000..07ff942
--- /dev/null
+++ b/fuck-hn.js
@@ -0,0 +1,4 @@
+// Hacker News is bad.
+if (document.referrer.startsWith("https://news.ycombinator.com")) {
+ document.location = "https://upload.wikimedia.org/wikipedia/commons/d/d4/Human_fart.wav"
+}