XMLHttpRequest exception because URL filtered by AdBlock

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Guest

XMLHttpRequest exception because URL filtered by AdBlock

Post by Guest »

I just wanted to post on this in case it can help anyone else out when seeing this behaviour.
I have been on this all day only to find out AdBlock plus extension was filtering my request URLs!
When I updated the subscription the issue was solved.

[Exception... "Component returned failure code: 0x805e000a [nsIXMLHttpRequest.open]" nsresult: "0x805e000a ()" location: "JS frame :: http://localhost:8000/xhrtest.shtml :: makeRequest :: line 35" data: no]

This URL succeeded: http://localhost/cgi-bin/resource/partner/one
This URL threw the exception: http://localhost/cgi-bin/resource/partners/one
The exception is thrown when open is called on an XMLHttpRequest object.
The AdBlock plus subscription was filtering on this pattern: */partners/* !
Yeah pretty general pattern but updating the subscription improved the pattern.

It looked pretty bad for a moment there and I reflected that this was the first time I saw a bug in FF when MSIE was still working ! I found the problem when I started following the standard FF bug filing report rules: just goes to show - it pays to follow the rules :-)
Wladimir Palant

Post by Wladimir Palant »

Rick recently restricted this filter to scripts which is why it worked after you updated EasyList subscription.
AnilG

Post by AnilG »

Oh so that's what $script means after the pattern?

The pattern used to be */partners/*
which is pretty general :-)
I couldn't understand why my URL was working when I changed it sometimes but sometimes not!

Now the pattern is /partners/*$script
BBQed Bacon

Stupid errors

Post by BBQed Bacon »

This error sucks from a programming stand point. It causes hundreds of error messages to be sent back when ever someone uses the adblocker on our site. Is there anyway to stop it or at least just check if it is running on someone else's browser? I know the ads we have are not going to spam anyone.
Post Reply