Questions tagged [browser-plugin]

Browser-plugins allow to display content in browsers that they don't support natively. The two major APIs are NPAPI (supported by all browsers except Internet Explorer) and ActiveX (for so called content extensions for Internet Explorer).

Browser-plugins allow to display content in browsers that they don't support natively. They are usually written in C++ or C. The three major APIs for browser-plugins are:

  • W3C Web-extension is a cross-browser system for developing browser add-ons, supported by Chrome, Opera, Firefox and Edge
  • NPAPI, supported by all browsers except Internet Explorer
  • ActiveX, for so called content extensions for Internet Explorer

Specific browsers may support additional APIs, like WebKit Plugins on OSX.

272 questions
0
votes
1 answer

Building an NPAPI browser plugin on Linux x86 and x86_64, how do I ensure that it loads the correct version of its dependent libraries?

I'm attempting to build a Linux browser plugin using Firebreath that runs on 32bit and 64bit Linux. In my X11/projectDef.cmake I have target_link_libraries(${PROJECT_NAME} ${PLUGIN_INTERNAL_DEPS} …
Daniel X Moore
  • 14,637
  • 17
  • 80
  • 92
0
votes
1 answer

NPAPI: preferred windowing model (windowed/windowless/xembed) for non-visual plugin

I'm creating an NPAPI plugin that isn't supposed to have a UI (for use from Javascript only). What windowing model should I use (windowed/windowless/xembed) to support as many browsers (and browser versions) as possible? I currently implement the…
lmz
  • 1,560
  • 1
  • 9
  • 19
0
votes
1 answer

How to create a software that can be used as a browser extension in python?

I have written a python program to download YouTube videos. I want to add it as an extension to browser, but I have read that browser doesn't run python scripts. So how can I deploy it? Can I convert it into a software which when installed can be…
0
votes
1 answer

Writing browser plugin in QT

I would like to try writing a browser plugin in QT. What browsers will it support? I couldn't find an updated documenatation (for QT 4.7.0) how to do it. Can someone provide a link to documentation\tutorial\example? Thanks!
sara
  • 3,824
  • 9
  • 43
  • 71
0
votes
0 answers

Writing a Chrome extension to block websites

I am trying to implement a Chrome Browser Extension. The Extension should take the web content (HTML + Javascript Code) of any user-requested Website and should firstly block that content from displaying. Also, no Javascript Code should be executed…
0
votes
1 answer

firebreath dockable window in a web browser

I want to create a dockable window on a web browser using Firebreath. The plugin, when registered, should be invoked by the browser and displayed in some section of the browser. I am new to this, so any help will be appreciated.
0
votes
1 answer

jdk 1.6.0_23 does not run applet or console with firefox 3.6.15

I have the following Problem: I am using a newly installed Version of JDK 1.6.0_23 and Firefox 3.6 to run Applets which successfully execute on IE7. OS is WinXP One of the following happens depending on the Applet: 1. The Applet Canvas is Black and…
elfwyn
  • 568
  • 2
  • 11
  • 33
0
votes
1 answer

Video in local file system won't play from sibling folder

I am maintaining an HTML help system where assets have recently been split apart from HTML documents. I'm noticing that videos that will play when loaded from a local subfolder will not play when loaded from a sibling folder. Here's a much reduced…
John Elion
  • 1,323
  • 1
  • 16
  • 30
0
votes
1 answer

Creating a JS browser-plugin utility like SWFObject

I am thinking that SWFObject would be a great example to learn from for my own browser plugin, but looking at swfobject.js it's all compressed to the point of unreadability and also is quite large. Has anyone already created a generic plugin toolkit…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
0
votes
2 answers

How to force the browser to maximize (like pressing F11) from an NPAPI plugin?

I have a scriptable NPAPI browser plugin. I would like to expose a method to javascript "MaximizeBrowser", that will cause the browser window to maximize (as if the user pressed F11 in the broswer). Is there a way to achieve that? The selected…
Gil
  • 395
  • 4
  • 19
0
votes
1 answer

Routing different youtube videos sound to different outputs

I'm not quite sure if this is possible but here is what I want to do: I want to have 2 different youtube videos (instantiated using the js api) on a page and I want to route the sound from one of them to the regular speakers and the sound from the…
hdx
  • 4,198
  • 7
  • 26
  • 33
0
votes
0 answers

WebExtensions: Sending data to a Batch file?

If a browser plugin is sending messages to a .bat file, what is the correct way to send that message? I have seen the following examples: var sending = browser.runtime.sendNativeMessage("ping_pong", "ping"); And var port =…
I Newton
  • 33
  • 5
0
votes
1 answer

How to efficiently track the total number of lines of code in my Ruby on Rails project on Cloud9 IDE?

IDE - Cloud9 - Metrics How do I efficiently track the total number of lines of code in my project? I assume I need a plugin It is a rails app, perhaps there is a gem available? Does chrome provider an inspector tool and/or plugin to accommodate…
0
votes
1 answer

How to sequentially insert scripts into the page context using