Change search result for Google

change or hide search results of google

目前为 2014-06-07 提交的版本。查看 最新版本

作者
noisys
评分
0 0 0
版本
1.12
创建于
2014-06-07
更新于
2014-06-07
大小
35.6 KB
许可证
https://creativecommons.org/licenses/by-nc-sa/3.0/
适用于

Change search result for Google

googlの検索結果を消したり変えたりします。


userscripts.orgが相変わらず不安定なので、データが吹き飛んだ場合を想定して
GreasyForkにも残します。
こちらはバックアップ目的なので、userscripts.orgと同期設定にしてますが
古い可能性があります。

どうやらgreasyforkではスクリプトの更新確認用URLが消されてしまうようなので
ここからインストールした人はこまめに更新チェック(このサイトにきて確認)の必要があるようです。
また、scriptishではnamespace(作者のサイトURLを割り当て)をgreasyforkに指定しても認識しないようです。
(※機能してないのでhttp://userscripts.org/のURLを設定)


===解説(Read me)===

・Googleの検索結果を非表示にする機能(Hide the search result by google)
・Googleの検索結果のURLを変更する機能(Change the search result's URL by google)


[非表示について(about to hide)]-----------------------------------------------------------------------------
===例文For example===
ex)"hogehoge"と"wiki"が両方共あって、"jp"か"com"のどちらともなかったら検索結果を消す
(Hit "hogehoge" and "wiki" ,And still "jp" or "com" are not included.Hide result)

{ NGword : ["hogehoge","wiki"], ignore : ["jp","com"]},

===ヒント(hint)===
・項目は複数指定が可能(Items can be increased)
・NGwordはand条件です("NGword" is AND condition)
・ignoreはor条件です("ignore" is OR condition)
・""のように文字を指定しない場合は無視されます("" is ignored)
・日本語で検索できるので嫌いな単語が含まれたら消すことが出来ます。
(Can search for Japanese)


[URL置換について(about to change URL)]----------------------------------------------------------------------
===例文For example===
ex)"www.hogehoge.com"を"hogehoge.com"にする
(Change "www.hogehoge.com" to "hogehoge.com")
{ before : "www.hogehoge.com", after : "hogehoge.com" },

ex)"hogehoge"を消す
(Delete "hogehoge")
{ before : "hogehoge", after : "" },

ex)"ぬるぽ"を"ガッ"にする
(Change "ぬるぽ" to "ガッ". for 2byte charactor.)
{ before : "ぬるぽ", after : "ガッ" },

===ヒント(hint)===
・項目は1つだけなので増やせません(Only one item. Can not be added)
・beforeは検索用のURLです("before" is search URL)
・afterは変換後のURLです("after" is changed URL)
・beforeで""のように文字を指定しない場合は無視されます("" is ignored in before)
・どちらも日本語で指定するとURL表記に変更されます。※パーセントエンコードします
(2byte charactor is changed to the URL notation.for Japanese)
・もし検索条件を追加したいなら(If you would like to add a search condition.)
ex:add ie=utf-8 @Google("http://www.google.com/search?num=50" to "http://www.google.com/search?ie=utf-8&num=50")
{ before : "search?", after : "search?ie=utf-8&" },


===注意事項(notice)===
*************************************************************************
一番最後のカンマ(,)を忘れないこと(Do not forget the last comma)
・同じ単語を指定すると干渉する場合があります
(If you specify the same word,May interfere)
*************************************************************************

=====================================================================================================================*/

/*************************************************************************************************************
更新履歴

06/07/2014 - v1.12 update : delete require. and include the code in script.
06/05/2014 - v1.11 fix : userscripts.org
05/17/2014 - v1.10 fix : userscripts.org:8080
03/14/2014 - v1.9 fix : Fixed [undefined] Error (GoogleSearchButton)
06/11/2013 - v1.8 fix : Fixed for Chrome
06/10/2013 - v1.7 fix : Fixed that did not work When logout
06/09/2013 - v1.6 fix : It corresponded to specification change of google.
04/06/2013 - v1.5 fix : The fault which will not operate if logged in to Google was corrected.
03/19/2013 - v1.4 update : For AutoPager & AutoPagerize.
03/09/2013 - v1.3 fix : Config window For Chrome
03/09/2013 - v1.2 add : GM_config
01/29/2013 - v1.1 add : check update
11/13/2011 - v1.0 release

**************************************************************************************************************/

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址