IMDb - fix links

Removes all tracking info from imdb links. Keeps other parameters intact.

Author
Achernar
Daily installs
0
Total installs
150
Ratings
2 0 0
Version
1.2.2
Created
2021-04-23
Updated
2021-09-06
License
N/A
Applies to

This script removes the tracking elements from all links on imdb pages.
It keeps other parameters intact: search query, hash element.

For me, the usefulness of the script is mainly to get back uniformity in pages urls.
With a tracking element, the same page can be linked with different urls, and your browsing history won't show a page as viewed (with a link in a different color) even if you have viewed it previously.

Example:

  • The link to a film from a search result:
     
  • www.imdb.com/title/tt0053221/?ref_=fn_al_tt_1
    www.imdb.com/title/tt0053221/?ref_=nv_sr_srsg_0
  • The same film from an actor's page:
  • www.imdb.com/title/tt0053221/?ref_=nm_flmg_act_38
  • With this script, the link is always:
  • www.imdb.com/title/tt0053221/

    Note (2021-08-17) : the new layout for the "title" page (film/episode) doesn't color visited links with a different color. I'm currently testing a new userstyle that fixes this as well as a couple of other things.

    For more userscripts, styles, extensions, tips, ..., visit my programming page.
    Feel free to look at my other imdb fixes: "fix title page / title page old layout" , "Fix links" , "Fix rating" , "Stop scripts" , "Fullscreen imageviewer" , "Set default user reviews sorting"