4 ms·
This bookmarklet seems to work in the few cases I tested: javascript:var as = document.getElementsByTagName("a");searchurl=as[12].protocol +"//"+ as[12].hostnam
by sage 12y ago
This bookmarklet seems to work in the few cases I tested:
javascript:var as = document.getElementsByTagName("a");searchurl=as[12].protocol +"//"+ as[12].hostname + as[12].pathname;location.href='http://google.com/search?q='+searchurl http://google.com/search?q='+searchurl
If you click it from a HN comments page, it will Google the story's url. For NYT and WSJ, clicking on the story from the Google results should get you in without the paywall. I have only tested this in Firefox. If anyone has improvements to the bookmarklet, please post it.
- a3n 12y agoHey, not bad. I just tried it for a bbc.com story and it showed up on search. Maybe this javascript thing will catch on.