Greasy Fork is available in English.

Change search result for Google and Bing

change or hide search results of Google & Bing

Автор
noisys
Инсталации дневно
0
Инсталации общо
430
Рейтинг
1 0 0
Версия
2.02
Създаден
07.06.2014
Обновен
30.11.2017
Лиценз
https://creativecommons.org/licenses/by-nc-sa/3.0/
Работи на

change or hide search results of Google & Bing

GoogleとBingの検索結果を消したり変えたりします。


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

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


[非表示について(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)
*************************************************************************

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

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

11/30/2017 - v2.02 fix : 仕様変更対応
03/31/2015 - v2.01 fix : 重複していた処理の修正
02/11/2015 - v2.00 add : Simple format check
02/11/2015 - v2.00 add : bing
08/19/2014 - v1.15 add : close config when keydown ESC
08/19/2014 - v1.15 fix : config button
06/13/2014 - v1.14 del : @updateURL
06/12/2014 - v1.13 add : @grant & @homepageURL
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

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