Embed JS into PureBasic

Share your advanced PureBasic knowledge/code with the community.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Embed JS into PureBasic

Post by Kwai chang caine »

Hello JHPJHP

Thanks a lot for your great work, like usually :shock:
Is it possible with your code, to manage firefox for create a ROBOT, do thousand of same actions (Ex : Go to an url, Click a link, read a page, write text in a field, write the text readed in a local file, etc ...) and all that without install something on windows ?

Again congratulation for sharing all your enormous works 8)
ImageThe happiness is a road...
Not a destination
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: Embed JS into PureBasic

Post by JHPJHP »

Hi Kwai chang caine,

Sorry, none of the code I have written will directly accomplish the tasks you require.

A solution that comes to mind, something we discussed before, is accessing the Microsoft Active Accessibility (MSAA) API.

Implementing a Microsoft Active Accessibility (MSAA) Server: Practical Tips for Developers and How Mozilla Does It

See the following:
- How to access a document's HTML in Firefox using IAccessible
- Accessing Mozilla's ISimpleDOMNode by using IAccessible
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Embed JS into PureBasic

Post by Kwai chang caine »

Since all the time i search to do that with FF and a simple way, i say to me perhaps your great code can do it.... :idea:
It's not prohibited to dream a little bit ....and with PB the dream is never really far :wink:

Thanks a lot for all this precious links MASTER 8)
I take a look and try to understand :oops: :D
Have a very good day, and never i can enough thank you, for the enormous works you give to the PB community :shock:
ImageThe happiness is a road...
Not a destination
ricardo
Addict
Addict
Posts: 2402
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Re: Embed JS into PureBasic

Post by ricardo »

Hello @JHPJHP

I just read that some of your code could insert jquery into a webgadget, its dynamically done?

Best Regards
ARGENTINA WORLD CHAMPION
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Embed JS into PureBasic

Post by JHPJHP »

Hi ricardo,
ricardo wrote:I just read that some of your code could insert jquery into a webgadget, its dynamically done?
I noticed that you were helped by Kiffi in this post.

Unfortunately, I don't have much time to spend on the forum these days, and the option to notify me when a reply is posted does not seem to work.

Cheers.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: Embed JS into PureBasic

Post by JHPJHP »

Hello All,

I've noticed enough downloads of Embed JS into PureBasic to make this post.

While this thread is by no means without its uses, it has been superseded by the Chromium WebGadget.

NOTE: Internet Explorer was retired on June 15, 2022.

With a ranging level of success, I'm still using the PureBasic WebGadget in the following projects:
- YouTube Player & Downloader
- MP4 Player & Downloader
- Barcode Generator
- Google Translate Service
- Embed JS into PureBasic
- Geolocation: Google Maps
Locked