[Ext] Adblock Plus 0.5.11.4
-
- Posts: 1
- Joined: May 17th, 2005, 1:32 pm
Bug in AdBlock v0.5.6+ (under Linux)
AdBlock v0.5.6+ fails to install under Linux (tested with Firefox v1.0.4 and the text version of AdBlock), because the xpi file contains a chrome/AdBlock.jar file, while the isntallation refers to chrome/adblock.jar (please, remember that only Mickey-mouse operating systems like Windoze got case-independant filesystems...). Renaming the file properly into the xpi does cure the problem.
-
- Posts: 28
- Joined: December 21st, 2004, 7:45 am
Re: Bug in AdBlock v0.5.6+ (under Linux)
voraphile wrote:AdBlock v0.5.6+ fails to install under Linux (tested with Firefox v1.0.4 and the text version of AdBlock), because the xpi file contains a chrome/AdBlock.jar file, while the isntallation refers to chrome/adblock.jar (please, remember that only Mickey-mouse operating systems like Windoze got case-independant filesystems...). Renaming the file properly into the xpi does cure the problem.
You just made my day. Just renamed the AdBlock.jar to adblock.jar and everything works fine.
- mcm_ham
- Posts: 1747
- Joined: June 16th, 2004, 6:09 am
- Location: Christchurch, New Zealand
Thanks for the warning voraphile, I've updated them so that all the references are in lower case. Let me know if they work ok.
ArtLonger, the error messages are because Mozilla can't find the locale yet the chrome registered ok and the paths look correct. It looks like I'll have to spend a bit of time on it which I won't be able to do until the weekend which is why I posted them. In case anyone could tell me straight off the cause.
ArtLonger, the error messages are because Mozilla can't find the locale yet the chrome registered ok and the paths look correct. It looks like I'll have to spend a bit of time on it which I won't be able to do until the weekend which is why I posted them. In case anyone could tell me straight off the cause.
-
- Posts: 235
- Joined: January 19th, 2004, 3:30 pm
- mcm_ham
- Posts: 1747
- Joined: June 16th, 2004, 6:09 am
- Location: Christchurch, New Zealand
simulate030 wrote:As for automatically updating from a URL- fantastic idea, but... The latest update file is always different (due to date: 2005-05-12a.txt for example). How would you synchronize to a specific URL?
There was a discussion about this with G here:
http://aasted.org/adblock/viewtopic.php?t=1997
There is another use for automatic synchronization which people are using it for. If you have a multi-user computer or a home network you can use automatic synchronization to make all the Firefox profiles have the same filter set. This is by just have a adblock filter list file up to date sitting on one of the computers.
ilwhx wrote:please help to add Localizations: zh-CN,thanks
I'm not sure what you're asking but if you understand both English and the Chinese? language you're more than welcome to translate various lines of text. The adblock extension is just a zip file including the one under chrome folder. You can find the en-US (english) locale there so just create a zh-CN one. Update the install.rdf at the bottom in the root folder before testing. If you need more help let me know.
Last edited by mcm_ham on May 18th, 2005, 7:42 am, edited 1 time in total.
- Calain80
- Posts: 33
- Joined: December 18th, 2002, 8:45 am
Localization Problem.
ArtLonger wrote:mcm_ham
http://mcmblog.homedns.org/Firefox/test.xpi
Error of installation on a Mozilla... After installation in the bottom part of a window is written:
<menuitem id="itemsAdblock" label="&adblock.adblocklabel1;" oncommand="filterAllDialog(true);"/>
----^
This is a Problem with the Localization. The Lang-File has the wrong encoding. Witch language do you use?
- Calain80
- Posts: 33
- Joined: December 18th, 2002, 8:45 am
- mcm_ham
- Posts: 1747
- Joined: June 16th, 2004, 6:09 am
- Location: Christchurch, New Zealand
Thanks for your help Calain it was a good thought anyway. I have now discovered the cause, a localeversion attribute in the content.rdf file under the content folder is either not supported by Mozilla or was set wrong. I've just removed it since it's not required and it installs fine in Mozilla now. I would like some testing on different locales as it appears to only load the first registered locale irrespective of what locale Mozilla is set to. Other extensions I tried seem to have the same problem.
Last edited by mcm_ham on May 31st, 2005, 8:38 pm, edited 1 time in total.
- mcm_ham
- Posts: 1747
- Joined: June 16th, 2004, 6:09 am
- Location: Christchurch, New Zealand
Thanks for confirming ArtLonger, I tried ieview and flashgot and they seem to have the same problem. As a work around unzip the extension and open the install.js file and head to this bit of code:
It's the last locale registered that Adblock always seems to use so you can put the Russian locale listed last.
EDIT: I think I found the right bug on bugzilla, Bug #216489. Seems Multizilla has a workaround and I notice it's able to automatically add toolbar items so will see if I can do the same with the buttons version of Adblock for Mozilla. But it will take a while as it is a pretty complicated extension.
Code: Select all
const APP_LOCALES = ["it-IT","ru-RU", "de-DE", "nl-NL", "fr-FR", "zh-TW", "en-US"];
It's the last locale registered that Adblock always seems to use so you can put the Russian locale listed last.
EDIT: I think I found the right bug on bugzilla, Bug #216489. Seems Multizilla has a workaround and I notice it's able to automatically add toolbar items so will see if I can do the same with the buttons version of Adblock for Mozilla. But it will take a while as it is a pretty complicated extension.