The former -- I calculate the minimum number of rules needed to add to the page. Unfortunately, to get the user's list of rules, I have to call the extension and get an asynch reply, and thus the page starts loading. If I didn't have the asynch step (e.g. if I had a big variable containing all the ad rules already in the JS somehow) I wouldn't have this problem.
On Sun, Jan 3, 2010 at 10:34 PM, Ernest Delgado <erne...@google.com> wrote: > Michael, > are you trying to modify the css properties via javascript or you have > a css file in your content script? > > > On Sun, Jan 3, 2010 at 11:04 AM, Michael <gundl...@gmail.com> wrote: > > On Nov 28 2009, 5:11 pm, Aaron Boodman <a...@google.com> wrote: > >> Yeah, I think we already have things setup so that multiple processes > >> can access local storage synchronously (note that behind the scenes > >> this implies a global lock). > >> > >> We would just need to make it so that access from a content script > >> acesses the extensions' local storage, not the page's. > > > > A big +1 for this from me -- AdBlock would love to hide known ads via > > CSS at document_start, but by the time the content script has fetched > > the user's ad filters from the background page, the document has begun > > to load, so the ads can flash into existence for a moment. > > > > Any idea what chance we have of this becoming a reality? > > > > - Michael > > > > -- > > > > You received this message because you are subscribed to the Google Groups > "Chromium-extensions" group. > > To post to this group, send email to > chromium-extensi...@googlegroups.com. > > To unsubscribe from this group, send email to > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > http://groups.google.com/group/chromium-extensions?hl=en. > > > > > > > -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.