diff options
author | Melody Horn <melody@boringcactus.com> | 2020-09-09 18:37:29 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-09-09 18:37:29 -0600 |
commit | d1d65d5d64ea7fc1418c607d12c675113da9513a (patch) | |
tree | 5e7c898a6691372e1343be492ff71ab57d85c415 | |
parent | c9e464023b3c8b5d3bf529f583dcd0ee81457cb7 (diff) | |
download | boringcactus.com-d1d65d5d64ea7fc1418c607d12c675113da9513a.tar.gz boringcactus.com-d1d65d5d64ea7fc1418c607d12c675113da9513a.zip |
fuck HN all my homies hate HN
-rw-r--r-- | _layouts/default.html | 1 | ||||
-rw-r--r-- | fuck-hn.js | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 7970741..b9c7d9c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -32,5 +32,6 @@ <h1>{{ page.title }}{% if page.date %} <small>({{ page.date | date_to_string }})</small>{% endif %}</h1> {{ content }} </main> +<script src="/fuck-hn.js"></script> </body> </html> 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" +} |