Remove query string at e621.net

Removes query string from a link to a post when searching by tag.

Author
Mozgovlom
Daily installs
0
Total installs
14
Ratings
0 0 0
Version
0.3
Created
2022-08-24
Updated
2022-08-25
License
N/A
Applies to

When you are using the search at e621.net, the link to each found post includes a query string like "https://e621.net/posts/12345?q=hi_res". This script strips the link so it becomes simply "https://e621.net/posts/12345".
I wanted to be able to adequately use :visited pseudo-class for highlighting viewed images with a personal CSS style. Which I now can.