Hacker News new | past | comments | ask | show | jobs | submit login

Since I use ddg, I can put this in my addr/search bar:

!gn site:wsj.com "RadioShack Prepares Bankruptcy Filing"

which brings me to this:

http://news.google.com/news/search?tbm=nws&q=site%3Awsj.com%...

Perhaps for sites that allow this (NYT and WSJ come to mind), it should become part of HN culture to just post links in the second form (the google news link).

Otherwise, I'm sure many people here are capable of creating a bookmarklet that does the above directly from an HN page. I just do the manual op that I described above, it's not that onerous or that often. But I'm rarely reading from a phone either.




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

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.


Hey, not bad. I just tried it for a bbc.com story and it showed up on search.

Maybe this javascript thing will catch on.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: