Greasy Fork is available in English.

General URL Cleaner

Cleans URL's from various popular sites.

< Обсуждения General URL Cleaner

Отзыв: Нормальный — скрипт работает, но имеет существенные недостатки

§
Создано: 01.09.2016
Отредактировано: 01.09.2016

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.

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;

Ответить

Войдите, чтобы ответить.