by masklinn · 4y ago · 0 comments
In case that's a serious question: what website has an orange theme, and an aggressively enforced rule against editorialising submission titles?
if (document.referrer === 'https://news.ycombinator.com/')
window.location = 'https://cdn.jwz.org/images/2016/hn.png'
Or something along those lines should work.[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Re...
<script>
if(document.referrer == "https://news.ycombinator.com/") {
// Mess with HN users here...
}
</script>