New version:
https://bitcointalk.blob.core.windows.net/scripts/bct_adblock.user.jsOne suggestion: Could you include "action=pm*" besides "topic=*" on the next version of the script? Removing the annoying signatures from private messages too would be great
added
This post has a non transparent signature, while
this one, by the same user, hasn't. There must be something in the first page that isn't there in the second. My firefox says:
TypeError: element.style.fontSize.match(...) is null
Stack trace:
calculateFormattingScore@file:///.../bct_adblock2.user.js:76:5
calculateFormattingScore/score<@file:///.../bct_adblock2.user.js:104:9
calculateFormattingScore@file:///.../bct_adblock2.user.js:106:1
isAd@file:///.../bct_adblock2.user.js:113:3
@file:///.../bct_adblock2.user.js:125:1
I'm using the readable code from
#53.
fixed. It was caused by font-size that weren't in pt (didn't know that was possible in smf). I also added support for html font sizes.