General URL Cleaner

Cleans URL's from various popular sites.

< 腳本General URL Cleaner的回應

評論:普通 - 腳本能使用,但有一些問題

§
發表於:2016-09-01
編輯:2016-09-01

Google Images not working correctly in some cases

For example, https://www.google.com/search?q=toucan shows Images on right side of Web results page but their URLs are not clean. And for example, https://www.google.com/search?q=grand+canyon shows 5 images within Web results but their are not clean either.

Knowbody作者
§
發表於:2016-09-02

With those results, there are two types of URL's with three different parameters with long strings:

Base URL: https://www.google.com/search?q=toucan&tbm=isch

URL type 1: &stick=[stuff]

URL type 2: &imgil=[stuff]%3B[encoded url]%252F &fir=[stuff]

I think removing these will affect functionality. But if you want them deleted, they can just be added to the googleParams regex, like this: /&(parameter_1|parameter_2|parameter_3|stick|imgil|fir)=[^&]*/g;

發表回覆

登入以回覆