|
|
| Author |
Message |
CatalinB
Joined: 10 Dec 2009
Posts: 30
|
Posted: Tue Feb 16, 2010 1:16 pm Post subject: How to add HTML (like a <div>) to a page the user is v |
|
|
I was trying to follow your example from Javascript manual (found at page 13) and I can't make it working.
First of all, MainWindow isn't available for Firefox. Second, I tried to replace MainWindow with tool, but without any success. The div isn't showing in Firefox.
I'm using Windows XP SP3, TS v4.2.0.5 and FF 3.*.
Could you provide the full working example please? |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 22 Aug 2006
Posts: 1055
|
Posted: Wed Feb 17, 2010 5:13 am Post subject: |
|
|
Firefox has different architecture and therefore Javascript Interface methods
To write the scripts for Firefox is possible under our additional building services |
|
| Back to top |
|
 |
CatalinB
Joined: 10 Dec 2009
Posts: 30
|
Posted: Wed Feb 17, 2010 7:47 am Post subject: |
|
|
| Admin wrote: | Firefox has different architecture and therefore Javascript Interface methods
To write the scripts for Firefox is possible under our additional building services |
At least, could you tell me how to write a div in the document root? |
|
| Back to top |
|
 |
kiran.bokhari
Joined: 15 Feb 2010
Posts: 15
|
Posted: Tue Feb 23, 2010 11:12 am Post subject: |
|
|
Hi there,
Does that mean tht we cannot access the DOM tree of the HTML content loaded in Firefox using Javascript?? And I guess the same goes for modification of the DOM? |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 22 Aug 2006
Posts: 1055
|
Posted: Wed Feb 24, 2010 9:34 am Post subject: |
|
|
| It is possible to access DOM via tool.window -> |
|
| Back to top |
|
 |
|