IMDb: Link 'em all!

Adds all kinds of links to IMDb, customizable!

< Feedback on IMDb: Link 'em all!

Question/comment

§
Posted: 2020-01-10
Edited: 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)

§
Posted: 2020-03-11
Edited: 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.

§
Posted: 2020-03-11

Thank you @moon12 it works!

§
Posted: 2020-03-11

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

buzzAuthor
§
Posted: 2020-04-29

Fixed. Thank you!

Post reply

Sign in to post a reply.