Linkify Plus Plus

Based on Linkify Plus. Turn plain text URLs into links.

< 脚本Linkify Plus Plus的反馈

评价:好评 - 脚本运行良好

§
发表于:2014-11-07
编辑于:2014-11-15

Doesn't work on 4chan sometimes

I'm using the catalog and the script will randomly not work on some boards and work on others. To test it you can try searching for "http" on some boards. It seems to happen on /k/ and /vg/ a lot.
This is what I get in console:

ERROR: Execution of script 'Linkify Plus Plus' failed! Cannot read property 'nodeType' of null VM921:855
TypeError: Cannot read property 'nodeType' of null
at removeWBR (eval at (eval at (unknown source)), :576:27)
at linkifyContainer (eval at (eval at (unknown source)), :597:2)
at Object.eval (eval at (eval at (unknown source)), :850:1)
at Object.eval (eval at (eval at (unknown source)), :856:4)
at d (eval at (unknown source), :28:45)
at Z (eval at (unknown source), :28:72)
at aa (eval at (unknown source), :62:388)
at b (eval at (unknown source), :63:286)
at u.push.fn (eval at (unknown source), :33:158)

I don't always get the script failed message but the "Cannot read property 'nodeType' of null" is almost always there.

§
发表于:2014-11-07

Also, I didn't want to start a new thread just for this one thing but the script doesn't do anything on warez-bb.org.
http://www.warez-bb.org/viewtopic.php?t=16168521
is an example

eight作者
§
发表于:2014-11-07

Fixed null bug at version 2.3.25.

I don't have account on Warez-BB. If the second issue still persist, please comment here.

§
发表于:2014-11-07

Woops, forgot you needed an account.

http://www.desirulez.net/threads/577732-Dinosaurs-Vector-Pack

Same thing here.

eight作者
§
发表于:2014-11-07

The script will ignore any element that class name contains code. Since the code block in the forum has bbcode_code class, they are ignored too.

Perhaps I should make a white list to allow custom class name.

eight作者
§
发表于:2014-11-07

Added in version 2.4.0.

Now you can add your own white-list to force script to work. Just put bbcode_code into textarea in config dialog.

发表回复

登录以发表回复。