{"id":5270,"date":"2010-11-20T16:15:19","date_gmt":"2010-11-20T16:15:19","guid":{"rendered":"http:\/\/jurnsearch.wordpress.com\/?p=5270"},"modified":"2010-11-20T16:15:19","modified_gmt":"2010-11-20T16:15:19","slug":"how-to-importexport-a-list-of-banned-urls-from-the-google-noise-reduction-script-for-firefox-greasemonkey","status":"publish","type":"post","link":"https:\/\/jurn.link\/jurnsearch\/index.php\/2010\/11\/20\/how-to-importexport-a-list-of-banned-urls-from-the-google-noise-reduction-script-for-firefox-greasemonkey\/","title":{"rendered":"How to import\/export a list of banned URLs from the Google Noise Reduction script, for Firefox + GreaseMonkey."},"content":{"rendered":"<p>You may have spent some time building up a list of banned URLs for the Firefox addon Surfclarity, which strips unwanted domains from Google Search Results.  Surfclarity no longer works with the latest Google changes, but the Greasemonkey script <a href=\"http:\/\/userscripts.org\/scripts\/show\/44418\">Google Noise Reduction<\/a> does.  In this tutorial we&#8217;ll swop the Surfclarity blacklist into the Google Noise Reduction blacklist.<\/p>\n<p><strong>1.<\/strong> In Firefox&#8217;s address bar, type: <strong>about:config<\/strong>.<\/p>\n<p><strong>2.<\/strong> Scroll down to <strong>extensions.surfclarity.patterns<\/strong>  <\/p>\n<p>Double click on the line of banned URLs you&#8217;ll find there, and copy them to Notepad.<\/p>\n<p><strong>3.<\/strong> Scroll further down to <strong>greasemonkey.scriptvals.http:\/\/exego.net\/\/Google Noise Reduction.blacklist<\/strong> and take a look at the format.  Note that it&#8217;s a little different than Surfclarity&#8230;  <\/p>\n<p>({&#8216;britannia.com&#8217;:true, &#8216;oxfordjournals.org&#8217;:true, &#8216;tandf.co.uk&#8217;:true, &#8216;ingentaconnect.com&#8217;:true, &#8216;sagepub.com&#8217;:true, &#8216;myspace.com&#8217;:true, &#8216;experts-exchange.com&#8217;:true})<\/p>\n<p>So we&#8217;re going to have to do some basic search-and-replace on our Surfclarity blacklist.  Back up the <strong>Google Noise Reduction.blacklist<\/strong> if you want, as we&#8217;re going to overwrite it in a few moments.<\/p>\n<p><strong>4.<\/strong> Go back to Notepad and look at the list of Surfclarity URLs you just copied out.<\/p>\n<p>Search for <strong>:<\/strong> and replace with <strong>: &#8216;<\/strong> &mdash; note the space after the &#8220;:&#8221;.<\/p>\n<p>Then search for <strong>:<\/strong> and replace it with <strong>&#8216;:true,<\/strong><\/p>\n<p>Now add <strong>({&#8216;<\/strong> to the very start of this list, and <strong>&#8216;:true})<\/strong> to the very end of this list.  <\/p>\n<p>Congratulations, you now have your SurfClarity list in Google Noise Reduction format.<\/p>\n<p><strong>5. <\/strong> Copy your new list to the clipboard, go back to <strong>greasemonkey.scriptvals.http:\/\/exego.net\/\/Google Noise Reduction.blacklist<\/strong>, clear what&#8217;s in there at the moment, and then paste the new list in.  You&#8217;re done.<\/p>\n<p>Obviously, you can now also copy a backup of the <strong>Google Noise Reduction.blacklist<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have spent some time building up a list of banned URLs for the Firefox addon Surfclarity, which strips &hellip;<\/p>\n<p><a href=\"https:\/\/jurn.link\/jurnsearch\/index.php\/2010\/11\/20\/how-to-importexport-a-list-of-banned-urls-from-the-google-noise-reduction-script-for-firefox-greasemonkey\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8,9],"tags":[],"class_list":["post-5270","post","type-post","status-publish","format-standard","hentry","category-how-to-improve-academic-search","category-jurn-tips-and-tricks","category-jurns-google-watch"],"_links":{"self":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts\/5270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/comments?post=5270"}],"version-history":[{"count":0,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts\/5270\/revisions"}],"wp:attachment":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/media?parent=5270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/categories?post=5270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/tags?post=5270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}