Answer the question
In order to leave comments, you need to log in
How to write a plugin for the browser? Greasemonkey or native plugin?
Task: to create the most cross-browser plug-in to control visited pages.
Features:
1. allow/blocklist
2. keyword search
3. session control time (internet time)
After searching the net, I found several ways to create plugins.
Method 1: Userscripts (userscripts.org)
Description of the method: writing a Greasemonkey script, java-script code that is inserted into the browser as an application.
Supported by:
By Firefox using Greasemonkey
By IE with its own version of Greasemonkey
Natively (soon) by Google Chrome (start from v.4)
Natively by Opera
And even by Safari
As a summary, I came to the conclusion that this is a fairly optimal / economical way to write a plugin - it comes down to writing a JS script. But there may be limitations on interaction with the browser.
Method 2: writing a native plugin
There are various open-source frameworks muffin.doit.org/ , proximodo.sourceforge.net/ based on which you can write your own browser extension.
developer.mozilla.org/En/Plugins :_The_first_install_problem - also a good description of an article on how to create an extension for Gecko browsers.
This method seemed more difficult to me. I did not find any advantages, maybe I was looking in the wrong place.
Q: Are there other ways to write browser plugins? Which one is the most efficient?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question