IMDb: Link 'em all!

Adds all kinds of links to IMDb, customizable!

< Commentaires sur IMDb: Link 'em all!

Question / commentaire

§
Posté le: 2020-01-10
Édité le: 2020-01-10

Not working in longer links

If the movie link has 7 digit* numbers the scripts works https://www.imdb.com/title/tt9354944/ (https://i.imgur.com/2epxhoT.jpg) but if it has 8 digits* https://www.imdb.com/title/tt10039344/ (https://i.imgur.com/8dNZvYG.jpg) the search option doesn't appear although the script shows as active in the Tampermonkey icon.

By digits i mean the "tt******".

I'm not sure if this is actually the cause but i noticed the small difference.

Tampermonkey v4.10.6105, Firefox 72.0.1 (64-bit)

§
Posté le: 2020-03-11
Édité le: 2020-03-11

try this way go to the line 1214

current: 7 let m = /^\/title\/tt([0-9]{7})\/([a-z]*)/.exec(window.location.pathname);

New: 7,8 let m = /^\/title\/tt([0-9]{7,8})\/([a-z]*)/.exec(window.location.pathname);

File & Save.

§
Posté le: 2020-03-11

Thank you @moon12 it works!

§
Posté le: 2020-03-11

you welcome, I hope that buzz includes this fix with the next update.

buzzAuteur
§
Posté le: 2020-04-29

Fixed. Thank you!

Poster une réponse

Connectez-vous pour poster une réponse.