Difference between revisions of "Iceweasel"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(User Agent String Change)
(Instructions For Install)
 
(16 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
But that was not going to work for me.  While it may be secure I want the same thing that the current version of Firefox has.
 
But that was not going to work for me.  While it may be secure I want the same thing that the current version of Firefox has.
  
You need to add the repos of that the Debian Mozilla Team runs.  The version that I chose is the "release" version.  It is the version that is the same as the public release Firefox has.
+
You need to add the repos of that the Debian Mozilla Team runs.  The version that I chose is the "release" version because it is the same version that the Mozilla Firefox team releases.  If you want to know more information about the releases on mozilla.debian.net take a look at the official [http://mozilla.github.com/process-releases/draft/development_specifics/ Mozilla Firefox Development Github] or our [[Firefox#General_Release_Structure | Firefox]] article.  
  
 
<br>
 
<br>
Line 40: Line 40:
  
 
The mozilla.debian.net archive is signed, so APT may complain until you add the archive key to your apt keyring.
 
The mozilla.debian.net archive is signed, so APT may complain until you add the archive key to your apt keyring.
 +
 +
You can do so by installing the [http://mozilla.debian.net/pkg-mozilla-archive-keyring_1.0_all.deb pkg-mozilla-archive-keyring] package. Once installed, you can check the key with the following command (requires the debian-keyring package to be installed):
 +
 +
 +
{{NOTE| The instructions below are old.}}
  
 
You can do so with the following sequence of commands (requires the debian-keyring package to be installed:
 
You can do so with the following sequence of commands (requires the debian-keyring package to be installed:
Line 67: Line 72:
 
     $ gpg --export -a 06C4AE2A | sudo apt-key add -
 
     $ gpg --export -a 06C4AE2A | sudo apt-key add -
 
     OK
 
     OK
 +
 +
{{Note|The old stops here.}}
  
 
Then update the APT sources:
 
Then update the APT sources:
  
 
     $ sudo apt-get update
 
     $ sudo apt-get update
 
  
 
You can install Iceweasel now with the following command:
 
You can install Iceweasel now with the following command:
Line 81: Line 87:
 
==User Agent String Change==
 
==User Agent String Change==
  
{{Note|The plugin that is publicly available does not work for Firefox Version 7.01 because its max version has not been updated. I modded the plugin and have a version hosted here:  [http://files.hackspherelabs.com/?download=user_agent_switcher-0.7.3-fxsm.webdawg.modded.xpi user_agent_switcher-0.7.3-fxsm.webdawg.modded.xpi]}}
+
I have had to change my user agent string on some broken sites to make them understand that I am really using Firefox. You can do it with a plugin or modding it in about:config
  
I have had to change my user agent string on some broken sites to make them understand that I am really using Firefox.
+
Here are some directions from the [http://wiki.debian.org/Iceweasel#User_Agent_String Debian Wiki]:
  
Here are some directions from the [http://wiki.debian.org/Iceweasel#User_Agent_String Debian Wiki]:
+
{{Note|The plugin that is publicly available does not work for Firefox Version 7.01 because its max version has not been updated. I modded the plugin and have a version hosted here:}}
 +
[http://files.hackspherelabs.com/?download=user_agent_switcher-0.7.3-fxsm.webdawg.modded.xpi user_agent_switcher-0.7.3-fxsm.webdawg.modded.xpi]
  
You can use the [https://addons.mozilla.org/en-US/firefox/addon/59 User Agent Switcher] plugin, then download a UA profile :
+
You can use the [https://addons.mozilla.org/en-US/firefox/addon/59 User Agent Switcher] plugin, then download a UA profile or manually input the string into the switcher. :
  
 
[http://wiki.debian.org/Iceweasel?action=AttachFile&do=view&target=uaswitcher_Firefox-Linux_Debian_v3.0.6_en-US_lenny.xml Firefox 3.0.6 - Lenny]
 
[http://wiki.debian.org/Iceweasel?action=AttachFile&do=view&target=uaswitcher_Firefox-Linux_Debian_v3.0.6_en-US_lenny.xml Firefox 3.0.6 - Lenny]
Line 97: Line 104:
 
To change the user agent string manually so that your browser is identified as 'Firefox' instead of 'Iceweasel'. Do the following.
 
To change the user agent string manually so that your browser is identified as 'Firefox' instead of 'Iceweasel'. Do the following.
  
    In your address bar, type about:config.
+
*In your address bar, type about:config.
    Click the "I'll be careful, I promise!" button.
+
*Click the "I'll be careful, I promise!" button.
    Find the Preference Name "general.useragent.extra.firefox".
+
*Find the Preference Name "general.useragent.extra.firefox".
    Right click the current value that's set for this preference and click "Modify".
+
*Right click the current value that's set for this preference and click "Modify".
    Change "Iceweasel" to "Firefox", leaving the rest of the text alone, and click OK.
+
*Change "Iceweasel" to "Firefox", leaving the rest of the text alone, and click OK.
 
+
*Check that your browser is now identified as "Firefox" by going to about: in your browser. The Build Identifier should resemble something like this:
    Check that your browser is now identified as "Firefox" by going to about: in your browser. The Build Identifier should resemble something like this:
 
  
        Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409 Firefox/3.0.6 (Debian-3.0.6-1)
+
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409 Firefox/3.0.6 (Debian-3.0.6-1)
  
 
I use (taken from a Windows box):
 
I use (taken from a Windows box):
Line 112: Line 118:
  
 
==ToDo==
 
==ToDo==
# Test modded plugin with Iceweasel
+
# Nothing ATM.

Latest revision as of 12:51, 7 January 2012

Background

Iceweasel is a fork of Firefox with the following purpose :
 1. backporting of security fixes to declared Debian stable version.
 1. no inclusion of trademarked Mozilla artwork (because of #1 above)

Notes: Debian Iceweasel Wiki Original Post Stating This Other Information


Debian has two problems with Firefox. Firefox's logo and name is trademarked and FF wanted Debian to follow the Firefox patch structure/update cycle. That is if Debian wanted to patch the browser the would have to get Firefox's approval. While the logo thing did not bother me. The patch thing did. I originally wanted to use Firefox direct from source and at one point I did.

Now I like the new Iceweasel. I have yet to experience any problems with any plugins as I did before (I am sure I will). I know eventually when I meet a site I will have to get a switch user agent plugin installed.

Instructions For Install

You can use the version of Iceweasel in the normal repos by doing:

aptitude install iceweasel

But that was not going to work for me. While it may be secure I want the same thing that the current version of Firefox has.

You need to add the repos of that the Debian Mozilla Team runs. The version that I chose is the "release" version because it is the same version that the Mozilla Firefox team releases. If you want to know more information about the releases on mozilla.debian.net take a look at the official Mozilla Firefox Development Github or our Firefox article.


Instructions to install most current version of Iceweasel @:

http://mozilla.debian.net/


Copy and pasted (modified a bit) install instructions for "release" version:

You need to add the following entry in /etc/apt/sources.list or a new file in /etc/apt/sources.list.d/:

   deb http://backports.debian.org/debian-backports squeeze-backports main
   deb http://mozilla.debian.net/ squeeze-backports iceweasel-release


The mozilla.debian.net archive is signed, so APT may complain until you add the archive key to your apt keyring.

You can do so by installing the pkg-mozilla-archive-keyring package. Once installed, you can check the key with the following command (requires the debian-keyring package to be installed):


Note: The instructions below are old.

You can do so with the following sequence of commands (requires the debian-keyring package to be installed:

   $ wget -O- -q http://mozilla.debian.net/archive.asc | gpg --import
   gpg: key 06C4AE2A: public key "Debian Mozilla team APT archive <pkg-mozilla-maintainers@lists.alioth.debian.org>" imported
   gpg: Total number processed: 1
   gpg:               imported: 1  (RSA: 1)
   $ gpg --check-sigs --fingerprint --keyring /usr/share/keyrings/debian-keyring.gpg 06C4AE2A
   pub   4096R/06C4AE2A 2010-11-20 [expires: 2011-11-20]
         Key fingerprint = 85F0 6FBC 75E0 67C3 F305  C3C9 85A3 D265 06C4 AE2A
   uid                  Debian Mozilla team APT archive <pkg-mozilla-maintainers@lists.alioth.debian.org>
   sig!3        06C4AE2A 2010-11-20  Debian Mozilla team APT archive <pkg-mozilla-maintainers@lists.alioth.debian.org>
   sig!         54FD2A58 2010-11-20  Mike Hommey <mh@glandium.org>
   1 signature not checked due to a missing key

(keep reading to finish import)

The latter message about signature not being checked is expected, as the archive key is signed by two keys, but only one being in the Debian keyring at a given moment: 54FD2A58 is an old key that is going to be deprecated and replaced with A6AA8C72. You can thus also expect the last signature validation to differ depending on the Debian keyring version you use.

You may want to check the trust path from your key to the one that signed the archive key. Or you can choose to trust the Debian keyring.

Once you're confident with the key, you can import it in the APT keyring:

   $ gpg --export -a 06C4AE2A | sudo apt-key add -
   OK
Note: The old stops here.

Then update the APT sources:

   $ sudo apt-get update

You can install Iceweasel now with the following command:

   apt-get install -t squeeze-backports iceweasel

Please report any problem to the pkg-mozilla-maintainers@lists.alioth.debian.org list.

User Agent String Change

I have had to change my user agent string on some broken sites to make them understand that I am really using Firefox. You can do it with a plugin or modding it in about:config

Here are some directions from the Debian Wiki:

Note: The plugin that is publicly available does not work for Firefox Version 7.01 because its max version has not been updated. I modded the plugin and have a version hosted here:

user_agent_switcher-0.7.3-fxsm.webdawg.modded.xpi

You can use the User Agent Switcher plugin, then download a UA profile or manually input the string into the switcher. :

Firefox 3.0.6 - Lenny

Firefox 3.5.16 - Squeeze

or

To change the user agent string manually so that your browser is identified as 'Firefox' instead of 'Iceweasel'. Do the following.

  • In your address bar, type about:config.
  • Click the "I'll be careful, I promise!" button.
  • Find the Preference Name "general.useragent.extra.firefox".
  • Right click the current value that's set for this preference and click "Modify".
  • Change "Iceweasel" to "Firefox", leaving the rest of the text alone, and click OK.
  • Check that your browser is now identified as "Firefox" by going to about: in your browser. The Build Identifier should resemble something like this:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020409 Firefox/3.0.6 (Debian-3.0.6-1)

I use (taken from a Windows box):

Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

ToDo

  1. Nothing ATM.