IMDb: Link 'em all!

Adds all kinds of links to IMDb, customizable!

< Părere la script-ul IMDb: Link 'em all!

Întrebare/comentariu

§
Postat în: 10-01-2020
Editat în: 10-01-2020

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)

§
Postat în: 11-03-2020
Editat în: 11-03-2020

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.

§
Postat în: 11-03-2020

Thank you @moon12 it works!

§
Postat în: 11-03-2020

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

buzzAutor
§
Postat în: 29-04-2020

Fixed. Thank you!

Postează un raspuns

Autentifică-te pentru a posta un răspuns.