IMDb: Link 'em all!

Adds all kinds of links to IMDb, customizable!

< 脚本IMDb: Link 'em all!的反馈

提问/评论

§
发表于:2020-01-10
编辑于: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)

§
发表于:2020-03-11
编辑于: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.

§
发表于:2020-03-11

Thank you @moon12 it works!

§
发表于:2020-03-11

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

buzz作者
§
发表于:2020-04-29

Fixed. Thank you!

发表回复

登录以发表回复。