Application to interact with a browser

8 views
Skip to first unread message

Prerak Agrawal

unread,
Oct 9, 2011, 2:20:11 PM10/9/11
to FOSS@ITBHU
Sir,

I want to design a application that interacts with a internet browser.

Like for example:
Opens a browser with a certain address.
Then according to preknown options on the screen, it interacts with
them.
Like it opens Facebook in the browser automatically enters my username
and password and clicks on submit, directly my account is opened.

Please help me with it, that is it possible or not and if yes then
through which interface or language.

Thanks.

Rohit Yadav

unread,
Oct 9, 2011, 2:55:34 PM10/9/11
to FOSS@ITBHU
Hi,

On Oct 9, 11:20 pm, Prerak Agrawal <prerakagrawa...@gmail.com> wrote:
> Sir,
>
> I want to design a application that interacts with a internet browser.
Unless it's a plugin, what you are saying is not allowed by design, by
most modern web browsers... external apps cannot gain control over
their internal functions, this is not what we want.
What probably you want is an addon, try googling on how you can make
an addon for firefox or chrome.

>
> Like for example:
> Opens a browser with a certain address.
> Then according to preknown options on the screen, it interacts with
> them.

I don't know about Firefox, it has changed a lot since I tried to
develop a simple addon for it to add the famous ?bhu magic string that
lets us pass thru bhu proxies; it was horrible to start with, you code
in Java and use XUL for GUI etc etc.

Chrome addons, for example, are much simpler to develop and can access
tabs, the internal dom structures of a web page, that is what probably
you pretty much want.
They are much easier to develop and deploy, you use JS/HTML/CSS to
develop them, zip them to deploy.

A good example is the facebook export your friends addon (note that fb
does not allow exporting friends),
https://chrome.google.com/webstore/detail/ficlccidpkaiepnnboobcmafnnfoomga,
it's a simple hack that uses html tag processing. You open the page
that lists your fb friends, and run this addon in next tab, it export
them as csv/json.

> Like it opens Facebook in the browser automatically enters my username
> and password and clicks on submit, directly my account is opened.
For this feature, simply use save password feature :)

> Please help me with it, that is it possible or not and if yes then
> through which interface or language.
Interface: HTML/CSS
Logic: JavaScript

Hope that helps.

Prerak Agrawal

unread,
Oct 9, 2011, 4:15:46 PM10/9/11
to FOSS@ITBHU
Thanks fr ur help!!!!!!

On Oct 9, 11:55 pm, Rohit Yadav <rohityada...@gmail.com> wrote:
> Hi,
>
> On Oct 9, 11:20 pm, Prerak Agrawal <prerakagrawa...@gmail.com> wrote:> Sir,
>
> > I want to design a application that interacts with a internet browser.
>
> Unless it's a plugin, what you are saying is not allowed by design, by
> most modern web browsers... external apps cannot gain control over
> their internal functions, this is not what we want.
> What probably you want is an addon, try googling on how you can make
> an addon for firefox or chrome.
>
>
>
> > Like for example:
> > Opens a browser with a certain address.
> > Then according to preknown options on the screen, it interacts with
> > them.
>
> I don't know about Firefox, it has changed a lot since I tried to
> develop a simple addon for it to add the famous ?bhu magic string that
> lets us pass thru bhu proxies; it was horrible to start with, you code
> in Java and use XUL for GUI etc etc.
>
> Chrome addons, for example, are much simpler to develop and can access
> tabs, the internal dom structures of a web page, that is what probably
> you pretty much want.
> They are much easier to develop and deploy, you use JS/HTML/CSS to
> develop them, zip them to deploy.
>
> A good example is the facebook export your friends addon (note that fb
> does not allow exporting friends),https://chrome.google.com/webstore/detail/ficlccidpkaiepnnboobcmafnnf...,
Reply all
Reply to author
Forward
0 new messages