add(bookmarklet) look for HN's comments for current link
This commit is contained in:
parent
abc4060907
commit
7f57242d09
2
bookmarklets/hackernews.js
Normal file
2
bookmarklets/hackernews.js
Normal file
@ -0,0 +1,2 @@
|
||||
//Is the current article debated on hacker news ?
|
||||
javascript:(function(){if(location.href.indexOf('http')!=0){input=prompt('URL:','http://');if(input!=null){location.href='https://hn.algolia.com/?q=%27+input}}else{location.href=%27https://hn.algolia.com/?q=%27+location.href;}})();
|
Loading…
Reference in New Issue
Block a user