3 lines
282 B
JavaScript
3 lines
282 B
JavaScript
//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;}})();
|