not working

in
Subscribe to not working 4 posts, 4 voices



Razvan G Scriptwright
FirefoxWindows

I just tested your last version and it doesn't work.

Other method of doing what you want is to adblock this link " images.hi5.com/images/1x1_trans.gif ", if you use that FF plugin.

Good Luck!

 
userscriptfa... Script's Author
FirefoxWindows

fixed it

 
JRockis User
SafariMacintosh

It seems this stopped working again about a week ago. It was magic -- I hope there is a way to restore its functionality...

 
Vaughan Chan... Scriptwright
MozillaX11

Just glancing at the source code I have to question the use of indexOf(). You're using it to find css files matching "photo_*.css", but as far as I know you can't use that sort of syntax with indexOf().

Maybe instead of

allsuspects[i].getAttribute(targetattr).indexOf(filename)!=-1

you could use something like this:
allsuspects[i].getAttribute(targetattr).match(/photo_.*\.css/)

You could also take the approach of over-ruling the css instead of removing it. Just make sure that the CSS you add has higher priority than the existinng rules.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel