aboutsummaryrefslogtreecommitdiff
path: root/assets/fuck-hn.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/fuck-hn.js')
-rw-r--r--assets/fuck-hn.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/assets/fuck-hn.js b/assets/fuck-hn.js
new file mode 100644
index 0000000..07ff942
--- /dev/null
+++ b/assets/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"
+}