[Project_owners] privileged and unprivileged javascript prototypes

Eric Jung grimholtz at yahoo.com
Sun Nov 6 13:07:09 EST 2005


Hi,
In my extension, I write:

  String.prototype.foo = "foo";

The foo property/attribute is then accessible in my extension on all
String objects, but not on String objects created in javascript from
remote websites (i.e., outside my extension). Is there any way to
make this property/attribute available to them, as well?

Thank you,
Eric Jung



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com


More information about the Project_owners mailing list