IMDb - fix links

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

Fra 17.08.2021. Se den seneste versjonen.

Forfatter
Achernar
Vurderinger
0 0 0
Versjon
1.1
Lagd
23.04.2021
Oppdatert
17.08.2021
Size
1,7 kB
Lisens
I/T
Gjelder

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) that 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.