PAPAZ UnQuestionmark

By TheGreekSage Last update Mar 22, 2010 — Installed 79 times.


Script Summary: Cuts-off the part after the '?' of the Links in a page.

This a small part of a bigger script I wrote for cutting-off session ids, tracking strings and pay-per-click links. That script can handle '?' and multiple '&' but I'm not posting the complete script because of some special requirements.

This little code cuts-off the part after the '?' of the Links in a page.

for example links in a page could have this format:

http://www.site.com/links/123/index.html?=www.p...

and with the script becomes:

http://www.site.com/links/123/index.html

P.S. You must be careful on which sites you apply it.
Use it ONLY in certain sites that you want to clean up their links.

This is another script of mine
PAPAZ Visited Links and Images