Porting Firefox Extensions to Seamonkey versions 2.0-2.6.*
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By liquesen at 2011-12-24 22:35
In this tutorial, the extension ported is Flashvideoreplacer. The steps should work with any Seamonkey version >= 2.0, and Firefox versions >= 3.5.4.
0. Find out your version of Seamonkey in "Help" -> "About Seamonkey"
Write this down or remember it. (Example: "2.6.1")
Replace the following strings with their Seamonkey-compatible counterparts everywhere that grep finds them:
1. Enter: grep -R "chrome://browser/content/browser.xul" *
For each file that contains the string, replace all instances of that string with:
chrome://navigator/content/navigator.xul
2. Enter: grep -R "chrome://browser/content/pageinfo/pageInfo.xul" *
For each file that contains the string, replace all instances of that string with:
chrome://navigator/content/pageinfo/pageInfo.xul
3. Enter: grep -R "chrome://browser/content/preferences/permissions.xul" *
For each file that contains the string, replace all instances of that string with:
chrome://communicator/content/permis...onsManager.xul
4. Enter: grep -R "chrome://browser/content/bookmarks/bookmarksPanel.xul" *
For each file that contains the string, replace all instances of that string with:
chrome://communicator/content/bookmarks/bm-panel.xul
5. Enter: grep -R "chrome://browser/content/places/places.xul" *
For each file that contains the string, replace all instances of that string with:
chrome://communicator/content/bookmarksManager.xul
Re-create the extension as an ".xpi" file by zipping it up. zip -r flashvideoreplacer-2.1.14-sea.xpi *
Check that the zip (.xpi) file is correctly populated with the following: unzip -l flashvideoreplacer-2.1.14-sea.xpi
Delete the old .xpi file (optional) rm ../flashvideoreplacer-2.1.14-fx.xpi
open Seamonkey.
open a visual file manager; for example, pcmanfm. pcmanfm . &
Drag and drop the new ".xpi" file anywhere in the Seamonkey window. This will start the install process.
Click "Install Now" on the window that pops up.
Restart Seamonkey. Navigate to "Tools" > "Add-ons Manager". Click "Extensions". Your extension should be listed there.
(
In this example, test flashvideoreplacer using the steps below:
Navigate to a page to test the plugin, for example Youtube. http://tinyurl.com/83tpw52
Select "Standalone".
Click on the bull-eye "Play" sign.
)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.