3 ms·
I use a bookmark with this JS snippet to prepopulate the HN submission page: javascript:window.location="https://news.ycombinator.com/submitlink?u="+encodeURIC
by helsinkiandrew 3y ago
I use a bookmark with this JS snippet to prepopulate the HN submission page:
javascript:window.location="https://news.ycombinator.com/submitlink?u="+encodeURIComponent(document.location)+"&t="+encodeURIComponent(document.title) https://news.ycombinator.com/submitlink?u="+encodeURICompone...
Unfortunately the document.title in the web page is different from the one currently on the page.
<title>MGM Didn't Pay Hackers' Ransom Because It Knew of, Was Responding to Attack - Bloomberg</title>
I've replaced it with the one currently on the page