Skip to content

Commit

Permalink
I'm tired of the orange website.
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Mar 22, 2023
1 parent cc4ec17 commit a720f6c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions layouts/blog/single.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{{ partial "header.html" . }}
<script>
if (document.referrer.startsWith("https://news.ycombinator.com")) {
console.log("Hacker News is becoming worse than 4chan. Do better.");
document.location = "https://google.com";
}
</script>
<section id="post-section">
<div class="post-wrapper">
<div class="post">
Expand Down

0 comments on commit a720f6c

Please sign in to comment.