Besttoolbars Development network

Back to Besttoolbars main site

 

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to add HTML (like a <div>) to a page the user is v

 
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> Mozilla/Firefox conversion
Author Message
CatalinB



Joined: 10 Dec 2009
Posts: 30

PostPosted: Tue Feb 16, 2010 1:16 pm    Post subject: How to add HTML (like a <div>) to a page the user is v Reply with quote

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

PostPosted: Wed Feb 17, 2010 5:13 am    Post subject: Reply with quote

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

PostPosted: Wed Feb 17, 2010 7:47 am    Post subject: Reply with quote

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

PostPosted: Tue Feb 23, 2010 11:12 am    Post subject: Reply with quote

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

PostPosted: Wed Feb 24, 2010 9:34 am    Post subject: Reply with quote

It is possible to access DOM via tool.window ->
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> Mozilla/Firefox conversion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group

Copyright c Softomate, 2010. All Rights Reserved
Terms of Service | Privacy Policy