Javascript proposal for extending window-dot to support tabs
Page 1 of 1 [ 1 post ]
kxmode
Supporting Member
Joined: 14 Oct 2007
Gender: Male
Posts: 2,613
Location: In your neighborhood, knocking on your door. :)
As far as I know there's no way to interact with tabs containing the same domain. I wish to extend Javascript's window-dot methodology to accomplish this.
Code:
tabs.window
With this you could do some of the following:
Code:
tabs.window.reload( domain );
Reloads all tabs with the same domain. Usage example: I have five different WP forums opened in five separate tabs but I forgot to login. After entering my username, password, and clicking submit all tabs containing the domain wrongplanet.net would reload. I am now logged in at each instance.
Code:
tabs.window.change( fromDomain, toDomain );
Changes all tabs with the same domains to a new domain. Not exactly sure of a usage example but it seems like it could be useful... somehow.
Code:
tabs.window.cookiejar( domain1, domain2, ... );
Creates an array of domains from all tabs and stores all of those domain's cookies into a single virtual "cookie jar" thereby granting web programmers access to cookies from those domains. Usage example: many sites, especially lower cost Godaddy accounts, host their main website on one domain (www.website.com) but the ecommerce system is hosted on another domain (www.ecommerce.com). This "cookie jar" would give web programmers access to all cookies from any domains in the array. From there they could very easily integrate it into website.com.
Is this madness? Is there any way to propose this? Who would I talk to?
Page 1 of 1 [ 1 post ]
Similar Topics | |
---|---|
Childhood trauma support |
27 Nov 2024, 12:53 pm |
Appreciation for shortfatbalduglyman: Share Some Support |
04 Dec 2024, 12:38 am |
Discussion topics for Asperger / HFA peer support group |
Today, 5:38 pm |