The Adblock Project Forum Index The Adblock Project
Pull up a seat ...stay a while.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adblock and latest FireFox Trunk nightlies

 
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main
View previous topic :: View next topic  
Author Message
pljones
Guest





PostPosted: Sat Apr 30, 2005    Post subject: Adblock and latest FireFox Trunk nightlies Reply with quote

I've had a quick skim through here and MozillaZine but I can't find the straight answer.

Adblock doesn't seem to want to install properly with the latest nightlies.

Is there a solution? Does Adblock need fixing? If so, any indication of when (or how, if it's a user-applyable fix)?
Back to top
BMIC
Guest





PostPosted: Sat Apr 30, 2005    Post subject: Reply with quote

same here....

I can't seem to get AdBlock to work on these newly builds
I went all the way back to the early 1.03s to get it to work
Back to top
Mugros



Joined: 28 Sep 2004
Posts: 38

PostPosted: Sun May 01, 2005    Post subject: Reply with quote

I confirm this with the nightly from yesterday. Adblock disappeared and won't reinstall.

Update: Disable all extensions, restart the browser, install Adblock, restart browser, enable all other extension, restart browser.

WFM and everything seems to be normal.
Back to top
View user's profile Send private message
hank



Joined: 15 Nov 2003
Posts: 58

PostPosted: Sun May 01, 2005    Post subject: nightly buggy Firefox since April 19th, maybe improving Reply with quote

As far as I know April 19th was the last reasonably solid nightly build -- there are many problems with extensions since then, coming and going as one patch breaks another patch. Different platforms seem to be getting reliable builds on different dates, but again it's changing. I'm just watching Peter6's nightly posting threads and trying to extrapolate from what he says about the Windows build to guess what might be happening with the OSX build -- but OSX seems to be a week or so behind the others. Never can tell these days.
Back to top
View user's profile Send private message
Mugros



Joined: 28 Sep 2004
Posts: 38

PostPosted: Sun May 01, 2005    Post subject: Reply with quote

I am using only nightly trunk builds on windows. I had almost no problems with plugins. (Once i had to download an extension manually, but not Adblock).
Back to top
View user's profile Send private message
mcm_ham



Joined: 17 Dec 2004
Posts: 310

PostPosted: Mon May 02, 2005    Post subject: Reply with quote

The patch landed by Bug 286034 caused quite a few issues to do with installing extensions and themes. April 22 was the last build before this patch landed. Most of the issues are now fixed on the latest nightly except that the backwards compatibility code to automatically generate chrome.manifest files for themes is not working so themes don't get installed yet unless you write your own chrome.manifest file. Bug 292248 is filed about remaining issues with the AdBlock install but I don't experience any problems. Fixing the min and max firefox version numbers is probably all that's needed.

However, there are a few rules that are now being enforced that weren't before and affect some extensions. The first is that the extensions must have a valid GUID, some just leave that out. The second is that the version number musn't contain alphabetic characters as some versions of AdBlock do.

Anyway the version on mozdev should work and does for me fine. Except the max version number is below Firefox 1.0 so is disabled until Firefox's update manager checks for updates and is told that version is compatible so it will re-enable.
http://adblock.mozdev.org/dev.html

If you want to clean up the install code a lot (following the below suggestion will only make it compatible with the trunk builds). Rename the downloaded Adblock extension to .zip and extract. Remove the "install.js" and "nsAdblock.js" files (used for Firefox 0.7 and below). Replace the code in the install.rdf file with:

Code:
<?xml version="1.0"?>

<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:em="http://www.mozilla.org/2004/em-rdf#">

  <Description about="urn:mozilla:install-manifest">
 
   <em:id>{34274bf4-1d97-a289-e984-17e546307e4f}</em:id>
   <em:version>0.5.2.039</em:version>
   
   <!-- Target Application this extension can install into,
      with minimum and maximum supported versions. -->
   <em:targetApplication>
      <Description>
      <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
      <em:minVersion>1.0</em:minVersion>
      <em:maxVersion>1.1</em:maxVersion>
      </Description>
   </em:targetApplication>
   
   <!-- Front End MetaData -->
   <em:name>Adblock</em:name>
   <em:description>Filters ads from web-pages</em:description>
   <em:creator>The Adblock Crew</em:creator>
   <em:contributor>Henrik Aasted Sorensen</em:contributor>
   <em:contributor>Wladimir Palant</em:contributor>
   <em:contributor>rue</em:contributor>
   <em:contributor>Ben Karel</em:contributor>
   <em:contributor>Stefan Kinitz</em:contributor>

   <em:homepageURL>http://adblock.mozdev.org</em:homepageURL>
   <em:updateURL>http://adblock.mozdev.org/update.rdf</em:updateURL>

   <!-- Front End Integration Hooks (used by Extension Manager)-->
   <em:optionsURL>chrome://adblock/content/settings.xul</em:optionsURL>
  </Description>     
</RDF>

(Removed unnecessary comments and the <em:file> attribute in favour of the new chrome.manifest file which will make it compatible with the trunk only).
Create a file called "chrome.manifest" and place inside the same directory as the "install.rdf" file. Save the file with the following code:

Code:
overlay   chrome://navigator/content/navigator.xul   chrome://adblock/content/adblock.xul
overlay   chrome://browser/content/browser.xul   chrome://adblock/content/adblock.xul
overlay   chrome://mozapps/content/extensions/extensions.xul?type=extensions   chrome://adblock/content/em-override.xul
content   adblock   jar:chrome/adblock.jar!/content/
Back to top
View user's profile Send private message Visit poster's website
fanboy
Guest





PostPosted: Tue May 03, 2005    Post subject: Reply with quote

ok editing adblock for trunk wasnt too successful, http://fanboy.co.nz/adblock-0.5.2.039-trunk.xpi , from my file, what exactly is stopping adblock from installing on trunk?
Back to top
mcm_ham



Joined: 17 Dec 2004
Posts: 310

PostPosted: Tue May 03, 2005    Post subject: Reply with quote

Looks good to me. Note installing extensions broke on the 23 April build and weren't fixed until the 29 April. That build broke plugins and that's only been fixed on the very latest trunk build. Try that one:

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

Also try with a new profile in case some residue may be causing problems. Note themes won't install without the "chome.manifest" file unlike extensions where the compatibility code is still working. Not that there are many themes that support the new options panel.
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Thu May 05, 2005    Post subject: Reply with quote

Right, I just tried the latest tinderbox build with fanboy's XPI. I installed the XPI on 2005-04-21 to check it was okay on a known working base. Seemed fine.

Loaded up 2005-05-05 @ 0546 (UCT) -- (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050505 Firefox/1.0+) -- and the Adblock link in the status bar was present. Great! Then I loaded up Chatzilla 0.9.68 (rather than 0.9.68a) and restarted. Adblock's status bar link was still present but it now said "... will be installed next time you restart..." in Extensions. Uh oh... So I restarted. And it disappeared. Poo... Back to 2005-04-21 again (so no SVG...) /sigh/
Back to top
pljones
Guest





PostPosted: Thu May 05, 2005    Post subject: That Guest was me, the thread-starter... Reply with quote

I just forgot to stick my username in. I ought to register... I just realised I'm not sure it had the link in the status bar when it said "...next restart..." in EM.
Back to top
mcm_ham



Joined: 17 Dec 2004
Posts: 310

PostPosted: Fri May 06, 2005    Post subject: Reply with quote

I'm running that build and just tried what you described on a new profile and got both AdBlock and Chatzilla installed without problems. To overcome this first try adding the chrome.manifest file that was generated from installing the extension to the 21 April build to chatzilla's installer.

If that doesn't work then here is the profile I've got which works fine. Simply remove everything from your profile folder and dump the contents of this zip to the folder (the profile is simply a clean install with adblock and chatzilla installed).
http://mcmblog.sitesled.com/Miscellaneous/Profile.zip


Last edited by mcm_ham on Sun May 08, 2005; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
pljones
Guest





PostPosted: Fri May 06, 2005    Post subject: Reply with quote

Thanks for taking the time to post that.

Not sure if this is the right place but anyway...

I'm left wondering then which of my other extensions might be causing the problem. But I'm not going to have time to track it down... At some point, I'm sure there will be new versions of everything I use, but right now I don't think I'd enjoy using the net enough to live without any of them.

The full list is:
ChatZilla - for some reason, it's the only IRC client I'm comfortable with;
Adblock - completely essential for remaining sane;
JavaScript Options - because I like to have final say in what my computer does;
wmlbrowser - um, okay, could lose this;
googlebar - another "can't live without" - nothing else works "right"!
Popup ALT Attribute - and another! so many sites need it to make sense of them
Live HTTP headers - occasionally essential... maybe I could live without it
ReloadEvery - too useful to live without for long

Now, if anyone can point and say "That one breaks things", let me know... and I'll go bug them Very Happy
Back to top
mcm_ham



Joined: 17 Dec 2004
Posts: 310

PostPosted: Sun May 08, 2005    Post subject: Reply with quote

mcm_ham wrote:
Note themes won't install without the "chome.manifest" file unlike extensions where the compatibility code is still working.

This has now been fixed with the latest nightly, there are still a few issues to do with extensions and themes left. For those interested in following them here they are (Bugs 286525, 292619, 284515, 291946).

I have decided to post a cleaned up AdBlock installer, fixing the RegExp help link as well (adblock-0.5.2.039.xpi). For those interested there is a modded version called AdBlock Plus available on extensionsmirror.

pljones, I had no trouble with those extensions apart from not being able to close the "wmlbrowser" options panel, however, the extension still works. Here is the profile (profile_pljones.zip). You can use Firefox's Profile Manager to create a new profile. Then browse to that profile, removing the contents and unzipping the profile I created into it. (This keeps your old profile should you choose to switch back to it). Just copy your "Bookmarks.html" file and "signons.txt", "key3.db" (for passwords) files across from your old profile to your new.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group