Firefox 6 Extension and Search Plugin bundle does not work - firefox

Adding a Search Plugin for Firefox Via Extension is done using bundles, putting your .xml OpeSearch in /searchplugins/ directory and Firefox will automatically add them when the Extension is installed.
See https://developer.mozilla.org/en/Bundles and also my own question Including a Search Plugin in my Firefox Extension
Well, it worked fine, until i started using Firefox 6. It seems that Firefox 6 does not read the /searchplugins/ directory anymore and does not add the Search Plugin. It might be also Firefox 4 and 5, i jumped from 3.6 to 6 directly.
Any idea if this is a bug in Firefox 6?
Any idea how to by pass it and install the SearchPlugin Anyway?

I think that the only relevant difference between Firefox 3.6 and Firefox 6 (Firefox 4 actually) is that by default extensions are no longer unpacked on installation, instead they are placed into user's profile as XPI files. This works for most extensions but particularly search plugins won't work from an XPI file. Which is why you have to add the unpack flag to your install.rdf file:
<Description about="urn:mozilla:install-manifest">
<em:id>...</em:id>
<em:unpack>true</em:unpack>
...
</Description>

Related

Xpages - New version of CkEditor not load

Recently I decide to migrate my application from version 8.5.3 Lotus Notes to version 9.0.1. When doing this I needed to change the version of CkEditor from 4.4.7 to 4.5.3, so I changed the file in the \data \ domino\html\ckeditor folder, however when re-building my application I received the following error in browser console:
The file xsp/.ibmxspres/domino/ckeditor/plugins/ibmspellchecker/plugin.js not exists in the new version of ckEditor.
I realized this is because the application tries to fetch the javascripts files from the old version of CkEditor, as if it were cached.
I've tried everything specified here: http://www.intec.co.uk/dde-local-preview-ckeditor/ but nothing worked.
Does anyone have any ideas?
From what I understand: you are upgrading CKEditor by yourself instead of using the default version that is installed and doing this by installing a version of CKEditor that you have obtained from CKEditor directly.
If so, the problem may be that the xpages inputRichText control uses some CKEditor plugins that are provided by IBM e.g. ibmspellchecker, ibmxspimage and these won't be provided in the standard CKEditor distribution.
If these plugins are not present in your new CKEditor installation then the editor will not load properly.
You have 2 options
Ensure these IBM plugins are put back in the html/ckeditor/plugins directory (and hope they are still compatible with the CKEditor version)
Tell the inputRichText control not to load any of the ibm plugins. (but this means you will not be able to upload images)
To remove plugins from the editor config use the dojoAttribute 'removePlugins'
<xp:inputRichText id="inputRichText1">
<xp:this.dojoAttributes>
<xp:dojoAttribute name="removePlugins" value="ibmspellchecker,etc"></xp:dojoAttribute>
</xp:this.dojoAttributes>
</xp:inputRichText>

How to install CKeditor on MediaWiki

I've installed
-Wysiwyg 1.5.6_0 [B551+09.02.2017], CKEditor 4.5.9 (revision a35abfe),
from https://github.com/Mediawiki-wysiwyg/WYSIWYG-CKeditor#short-installation-instructions
unto my server whose versions are
http://mediawiki-22652-48932-215666.cloudwaysapps.com/index.php/Special:Version
I've followed the instructions by
uploading the WYSIWYG folder into the extensions
replaced WikiEditor/modules/ext.wikiEditor.toolbar.js in the appropriate folder
Made sure the Preferences are correct
added all code that starts with "#02.07.16-> ,#Enable WYSIWYG- extension, MW >= 1.25....." to my LocalSettings.php without any changes
checked the versions and found that it was installed
When i want to edit the page, i dont see the WYSIWYG, is there something wrong with the installation steps?

This add-on could not be installed because it does not match the Add-on Firefox expected

I get this error when I try to inline install my addon: This add-on could not be installed because it does not match the Add-on Firefox expected
I'm using this tutorial: https://developer.mozilla.org/en-US/docs/Installing_Extensions_and_Themes_From_Web_Pages
My extension is verified on AMO. This addon is a pure XML. I don't have any XPI file. And I'm pointing to this XML file in my inline install. The hash is OK (it's the same one that I got from the Firefox Developers page)
Can somebody help?

Can't install Firefox extension in Firefox 13.0.1

I'm developing a firefox extension which has been working without any problems in firefox version 12.*.
Today I updated FF to version 13.0.1 and changed the install.rdf file accordingly:
<em:targetApplication>
<RDF:Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.0</em:minVersion>
<em:maxVersion>13.0.*</em:maxVersion>
</RDF:Description>
</em:targetApplication>
But since then the extension won't be installed. The message "-Extension name- could not be installed because it is not compatible with Firefox 13.0.1" is displayed.
I used Netbeans' foxbeans plug-in to create the first dummy version of my extension (I used to be -and still am- a beginner in Firefox extension development), so the install.rdf and install.js files are automatically generated. Feel free to ask for more code if you think it could help.
Is there anyone else who has the same problem? Any possible explanations?
SOLVED:
It seems like this is a rather weird Firefox bug. I discovered that the problem was caused by an ampersand I had placed on the extension's description:
<em:description>Demokritos Labeling & Filtering Client's Firefox Extension</em:description>
If I change the above to:
<em:description>Demokritos Labeling and Filtering Client's Firefox Extension</em:description>
the extension gets installed normally.
It's a minor but rather odd bug and I should probably report it.
Do you have an updateURL in your extension?
There is an open bug that if your updateURL is incorrect, you'll get a version error:
https://bugzilla.mozilla.org/show_bug.cgi?id=740378

View PDFs with Chromium on Windows

It's possible?
Is there a way to install the plugin?
I've been searching trying to find a solution for this, but found nothing.
Edit: Without installing anything from Adobe.
Grab the "pdf.dll" from the latest Google Chrome version. (Download here from version 25.0.1364.172)
Put it in Chromium's install directory ("C:\Program Files\Chromium\Application" or "%appdata%/Chromium/Application/VersionNumberHere/")
Restart any running instance of Chromium.
Type "chrome://plugins" in Chromium, make sure the plugin is enabled and any other PDF plugin is disabled.
And test your browser in: http://www.google.com.br/search?q=pdf+test
Install Adobe Reader on the computer. The PDF will then display in Chrome.

Resources