Skip to content

Commit a720f6c

Browse files
committed
I'm tired of the orange website.
Signed-off-by: Hector Martin <[email protected]>
1 parent cc4ec17 commit a720f6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

layouts/blog/single.html

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{{ partial "header.html" . }}
2+
<script>
3+
if (document.referrer.startsWith("https://news.ycombinator.com")) {
4+
console.log("Hacker News is becoming worse than 4chan. Do better.");
5+
document.location = "https://google.com";
6+
}
7+
</script>
28
<section id="post-section">
39
<div class="post-wrapper">
410
<div class="post">

0 commit comments

Comments
 (0)