This design document was released just a one or two days ago. http://dev.chromium.org/developers/design-documents/extensions/howto
Enjoy. :) ☆PhistucK On Thu, Mar 19, 2009 at 18:18, Michael Freeman <[email protected]> wrote: > It worked perfectly. Thank you!!! How did you know this? I could not > find any documentation to explain what was going on? I also could not get > the JavaScript Console to do anything for me. > > Michael Freeman > [email protected] > > ------------------------------ > *From:* PhistucK <[email protected]> > *To:* [email protected] > *Cc:* Chromium-discuss <[email protected]> > *Sent:* Thursday, March 19, 2009 4:03:30 PM > *Subject:* Re: [chromium-discuss] How do I access variables in other js > files with a userscript > > If I am not mistaking, replacing "window" with "contentWindow" should have > the same effect.But I think I am. > > ☆PhistucK > > > On Thu, Mar 19, 2009 at 15:25, Spanishgringo <[email protected]> wrote: > >> >> With the dev version 2.0.170.0 I installed yesterday, now many user >> scripts are not working because they cannot see functions, objects, or >> properties coming from other js files (or the page itself). >> >> For example if a page has a variable called mPartner I used to access >> it via "window.mPartner" in my userscript. Since 2.0.170.0 that does >> not work. >> >> Any ideas? >> >> Also, I cannot copy all of the external js code to my user script. >> That does work for some of my scripts, but for others the external js >> changes regularly and I do not want to update the local user script >> for every single external js modification. >> >> >> >> > > --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
