horlla steve
horlla steve

Reputation: 1

Greasemonkey remove string from url with regex and without regex

I need assistance using Greasemonkey scripts, I am having the problem with the example URL below

https://www.example.com/list/photos?sort=age&desc=1&lastSeenGuidPresent=true&position=30&source=listpage_search-results&order_bucket=unknown

How can i use Greasemonkey script to remove everything from "?" so i will have https://www.example.com/list/photos left in each URL of the listing.

Thank you

Upvotes: 0

Views: 16

Answers (0)

Related Questions