topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday December 12, 2024, 7:09 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Looking for Browser Add-in/Plug-in/Extension Plaforms - Advice?  (Read 4575 times)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Does anyone have any experience with browser plug-ins or extensions?

I'm looking to develop some software, but want to integrate it with the browser. i.e. As you're surfing around, you find something, then the extension acts as a front-end for the software.

This would let me do some things that simply aren't practical inside the browser. e.g. JavaScript and AJAX are not a replacement for C# and desktop power.

In the past, I've written custom browsers, but I'd like to switch direction there.

Thanks for any advice, links, or anecdotes.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Looking for Browser Add-in/Plug-in/Extension Plaforms - Advice?
« Reply #1 on: September 08, 2011, 10:20 PM »
Well, looks like I'm back to browser components. For now I'm going to be using MozNET, but if anyone knows of something that will let a browser plug-in interface with regular desktop compiled software, please do chime in.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

steeladept

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,061
    • View Profile
    • Donate to Member
Re: Looking for Browser Add-in/Plug-in/Extension Plaforms - Advice?
« Reply #2 on: September 08, 2011, 11:28 PM »
I want to say there are some things for out-of-browser apps that are essentially what you are looking for, but I can't think of anything off the top of my head.  There are out of browser apps that I have seen, but from a developer side....Off to Google....

And the verdict is....

That's where I heard about it!  Silverlight.  That was it's whole point - to be Flash + Adobe AIR but better.  Well in Microsoft's eyes, anyway.  Though I do believe there were some independent confirmations that it was technically better, both in richness and performance.  Unfortunately it looks like they *MAY* be abandoning it by and large.  Still, it may give you another direction to continue your search...
« Last Edit: September 08, 2011, 11:32 PM by steeladept »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Looking for Browser Add-in/Plug-in/Extension Plaforms - Advice?
« Reply #3 on: September 08, 2011, 11:44 PM »
I want to say there are some things for out-of-browser apps that are essentially what you are looking for, but I can't think of anything off the top of my head.  There are out of browser apps that I have seen, but from a developer side....Off to Google....

And the verdict is....

That's where I heard about it!  Silverlight.  That was it's whole point - to be Flash + Adobe AIR but better.  Well in Microsoft's eyes, anyway.  Though I do believe there were some independent confirmations that it was technically better, both in richness and performance.  Unfortunately it looks like they *MAY* be abandoning it by and large.  Still, it may give you another direction to continue your search...

Yeah... There's Silverlight, but what I'm looking to do is have a plug-in for the *browser* and not for the *web page*. i.e. I'm looking to do some web automation and drive web pages directly in the browser.

And no -- this is nothing nefarious. that kind of functionality can lead to the dark side, but I'm basically looking to automate a web browser game -- i.e. Have the bot in the browser. So... I suppose yeah... If you're against bots, then I've switched to the dark side. :P All Hail Emperor Palpatine~! ;D

Best 2 lines in any movie:

#2 - In the Emperor's throne room
Emperor Palpatine: And now young Skywalker... You will die...

#1 - Immediately following the second best line
Luke Skywalker: Aaarrrggghhh~!



I can do all of this stuff in a stand alone application, but I'd rather hook into a browser directly. Still... Looks like I'm heading down the stand alone path for now.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,885
    • View Profile
    • Donate to Member
Re: Looking for Browser Add-in/Plug-in/Extension Plaforms - Advice?
« Reply #4 on: September 09, 2011, 05:59 AM »
Perhaps nevf might be able to point you in the right direction. He did create browser extensions to work with his Surfulater application.

ecaradec

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 410
    • View Profile
    • Blog & Projects
    • Read more about this member.
    • Donate to Member
Re: Looking for Browser Add-in/Plug-in/Extension Plaforms - Advice?
« Reply #5 on: September 13, 2011, 11:39 AM »
The most common way of communicating with the desktop is to open a server in your desktop app and then to request json file thought <script> tag injection. I think that's the most common way. I think that this is what snarl do. I've also seen browser extension do this, though I can't remember their name (they used websocket then ), but just injecting script tag will work anyway.

The second way is to register a browser protocol. That'll only allow you to communicate one-way, from the browser to the app, but not the other way around. Chrome doesn't even allow you to know if the operation succeded or failed.

The gorgeous solution is to create an extension for each browser that allows you to communicate with your desktop app, I wouldn't recommend that solution, because there is some annoying OS protection between IE and Vista / 7 and various other issues, but I can give you some tips if you really want to go that way.

I'll personnally vote for the first solution.
Blog & Projects : Blog | Qatapult | SwiffOut | FScript