Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Everything about using Adblock Plus on Google Chrome

Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby Noggie » Mon Jul 18, 2011 10:20 pm

Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Code: Select all
Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22 - options.html:140
saveOptions - options.html:140
addTypedFilter - options.html:173
(anonymous function) - options.html:449
onclick - options.html:450


I have just 18 rules

Should move them all to a custom filter instead ?
Do adblock even support local filters (as in "c:\bla\filter.txt") ?
Noggie
 
Posts: 82
Joined: Tue Mar 29, 2011 12:46 pm

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby Michael » Tue Jul 19, 2011 9:40 am

There are no limits (as far as I am aware) to the number of custom filters that the extension can handle. What version of Adblock Plus do you use? Does chrome://adblockplus/content/errors.html display anything?
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby Noggie » Tue Jul 19, 2011 12:20 pm

I'm using Version: 1.1.3

"chrome://adblockplus/content/errors.html"
Doesn't work. (net::ERR_INVALID_URL)

There's a limit when using localstorage (5 mb).
Using database sql have no file size limit
Noggie
 
Posts: 82
Joined: Tue Mar 29, 2011 12:46 pm

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby ttjoseph » Tue Jul 19, 2011 3:48 pm

Yes, this is most likely a localStorage limitation, which has become problematic in this - hopefully rare - because all locally-cached filter lists count toward this limit, and deselected ones are not deleted. We don't currently use the unlimitedStorage manifest.json permission, which would solve this (but I don't know if enabling it result in a potentially confusing 'new permissions' dialog box in Chrome - Wladimir, any thoughts?).

Here is a workaround: Tools -> Extensions -> Developer mode, then under the ABPC entry, click "background.html". Then in the window that comes up, click Resources, Local Storage, then the entry under that that just appeared, then delete all the local storage entries that start with "http". Sorry this workaround is so convoluted...
ttjoseph
 
Posts: 79
Joined: Sat Dec 04, 2010 5:12 am

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby Michael » Tue Jul 19, 2011 10:15 pm

Sorry, I mistakenly posted information pertaining to the Firefox version of Adblock Plus - I had forgotten the forum that I was in and how different the Chrome extension is.
Michael
 
Posts: 1361
Joined: Sat Dec 19, 2009 1:29 pm

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby Noggie » Mon Aug 01, 2011 4:37 pm

hm.. I get this error when updating (Update Now button) the filter list too :evil:
Code: Select all
filterupdate.js:152
Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22
FilterListFetcher.xhr.onreadystatechange


Image

Any chance you will go over to the other limitless storage system ?
Noggie
 
Posts: 82
Joined: Tue Mar 29, 2011 12:46 pm

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby Noggie » Mon Aug 01, 2011 5:03 pm

Noggie
 
Posts: 82
Joined: Tue Mar 29, 2011 12:46 pm

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby ttjoseph » Fri Aug 05, 2011 12:28 am

OK, I went ahead and added this permission. It should show up shortly in the development version.

https://hg.adblockplus.org/adblockplusc ... 4b123a0d09
ttjoseph
 
Posts: 79
Joined: Sat Dec 04, 2010 5:12 am

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby Noggie » Wed Aug 17, 2011 5:09 pm

Did you not read the page ?

From the site (http://code.google.com/chrome/extension ... ermissions):
"unlimitedStorage": "Note: This permission applies only to Web SQL Database and application cache (see issue 58985)."

So you will need to switch to sql db to make it work.
Noggie
 
Posts: 82
Joined: Tue Mar 29, 2011 12:46 pm

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby ttjoseph » Thu Aug 18, 2011 2:02 am

Guess I missed that part, sorry. I suppose we'll need it at some point though, or hopefully the Chrome folks will allow it to apply to localStorage at some point in the future.
ttjoseph
 
Posts: 79
Joined: Sat Dec 04, 2010 5:12 am

Re: Getting QUOTA_EXCEEDED_ERR when trying to add a custom rule

Postby lewisje » Thu Aug 18, 2011 2:45 am

Also you might not want to use multiple overlapping lists, or copies thereof (like both the built-in and manually-added Fanboy lists).
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
lewisje
 
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm


Return to Adblock Plus for Chrome support

Who is online

Users browsing this forum: No registered users and 20 guests