Help - Search - Members - Calendar
Full Version: Clean Firefox 3
The CD Forum > Bart's PE Builder > Plugins
Virtual-R
UPDATE 20080704:

For those of you who experienced the problem I had with my own plugin.

Error: This download has been blocked by your security zone policy when you try to download files.
I had to cut the registry over 30 times before I found the value that gave ME this error.

UPDATED INF-FILE FOR PEOPLE HAVING THIS PROBLEM:

firefox.inf

CODE
[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Firefox 3"
Enable=1
help="Firefox.htm"

[WinntDirectories]
a=Programs\Firefox,2

[SourceDisksFolders]
files=a,,1

[SourceDisksFiles]
files\firefox.exe=a,,3

[Append]
nu2menu.xml, firefox_nu2menu.xml

[Software.AddReg]

[Software.AddReg]
0x2,"Classes\CLSID\{7b8a2d94-0ac9-11d1-896c-00c04Fb6bfc4}\InprocServer32",,"%SystemRoot%\SYSTEM32\URLMON.DLL"
0x1,"Classes\CLSID\{7b8a2d94-0ac9-11d1-896c-00c04Fb6bfc4}\InprocServer32","ThreadingModel","Both"
0x1,"Clients\StartMenuInternet",,"Firefox.exe"
0x1,"Clients\StartMenuInternet\Firefox.exe",,"Mozilla Firefox"
0x2,"Clients\StartMenuInternet\Firefox.exe\DefaultIcon",,"%SystemDrive%\programs\firefox\firefox.exe,0"
0x2,"Clients\StartMenuInternet\Firefox.exe\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe"
0x1,"Clients\StartMenuInternet\Firefox.exe\shell\properties",,"Firefox &Options"
0x2,"Clients\StartMenuInternet\Firefox.exe\shell\properties\command",,"%SystemDrive%\programs\firefox\firefox.exe -chrome ""chrome://browser/content/pref/pref.xul"""
0x1,"Classes\MIME\Database\Content Type\application/x-xpinstall;app=firefox","Extension",".xpi"
0x1,"Classes\.htm",,"FirefoxHTML"
0x1,"Classes\.html",,"FirefoxHTML"
0x1,"Classes\.shtml",,"FirefoxHTML"
0x1,"Classes\.xht",,"FirefoxHTML"
0x1,"Classes\.xhtml",,"FirefoxHTML"
0x1,"Classes\.xpi",,"FirefoxINSTALL"
0x2,"Classes\CHROME\DefaultIcon",,"%SystemDrive%\programs\firefox\firefox.exe,1"
0x2,"Classes\CHROME\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe -url ""%1"""
0x2,"Classes\FirefoxHTML\DefaultIcon",,"%SystemDrive%\programs\firefox\firefox.exe,1"
0x2,"Classes\FirefoxHTML\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe -url ""%1"""
0x2,"Classes\FirefoxINSTALL\DefaultIcon",,"%SystemDrive%\Programs\Firefox\mozctl.dll,1"
0x2,"Classes\FirefoxINSTALL\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe -url ""%1"""
0x1,"Classes\FTP\DefaultIcon",,"%SystemDrive%\programs\firefox\firefox.exe,1"
0x2,"Classes\FTP\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe -url ""%1"""
0x2,"Classes\GOPHER\DefaultIcon",,"%SystemDrive%\programs\firefox\firefox.exe,1"
0x2,"Classes\GOPHER\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe -url ""%1"""
0x2,"Classes\HTTP\DefaultIcon",,"%SystemDrive%\programs\firefox\firefox.exe,1"
0x2,"Classes\HTTP\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe -url ""%1"""
0x2,"Classes\HTTPS\DefaultIcon",,"%SystemDrive%\programs\firefox\firefox.exe,1"
0x2,"Classes\HTTPS\shell\open\command",,"%SystemDrive%\programs\firefox\firefox.exe -url ""%1"""


Yes, my plugin for Firefox 3 is ready.

*Starts with google as homepage
*Doesn't ask questions about default browser
*Asks were to save files instead of on the desktop

Compatible with JAVA and FLASH plugins from Sherpya and others.

Only problem left:

Anyone knows how to get www.google.com instead of www.google.se? I have tried to fix this for a long time now.

Get it here:

http://www.mediafire.com/?udtzy1tkr1u

I would be grateful for suggestions about solving the google.se issue smile.gif

I know the obvious question: Is this based on the FINAL V3 of Firefox? The answer is yes, it should be, if Firefox gets release tomorrow, this IS the final code!
Ed_P
QUOTE (Virtual-R @ Jun 16 2008, 07:09 AM) *
Is this based on the FINAL V3 of Firefox? The answer is yes, it should be, if Firefox gets release tomorrow, this IS the final code!

So the FF About window won't show RC? huh.gif

If you wait less than 24 hrs you can be quaranteed to have the final code. happy62.gif
Virtual-R
The FF About does not show RC smile.gif , but you are right anyway Ed, let's wait for tomorrow! smile.gif
palmer666
QUOTE
I would be grateful for suggestions about solving the google.se issue smile.gif

Hi,

open the Firefox folder, go to "defaults", "profile" and open the "prefs.js" file with an editor.
Replace this entry

user_pref("browser.startup.homepage", "www.google.com");

with this one:

user_pref("browser.startup.homepage", "www.google.se");


Thats it.
Nikky
Sorry, but wrong. Solution is:
CODE
user_pref("browser.startup.homepage", "http://www.google.com//ncr");

Yes, 2 slashes + no country redirect, google it.
palmer666
When i enter this URL "http://www.google.com/ncr" in a german Firefox, i get the US side.....
Virtual-R
QUOTE (palmer666 @ Jun 18 2008, 03:32 PM) *
When i enter this URL "http://www.google.com/ncr" in a german Firefox, i get the US side.....


Thank you ALOT Nikky! (And to all others too), the ncr did the trick, I will soon update the plugin, but I have 1 more problem,
it seems like something is wrong when you try to download things, or is the fault somewere else??? I have the problem were all downloads gets forbidden, looking on the internet, the fix is to change the securitysettings in IE. But I don't even have IE on my bootable CD.
This is the problem when you try to download files: "This download has been blocked by your secutity zone policy"

Do you guys get this error too with this plugin?

Thanx for helping me finishing off this plugin

UPDATE: Well, it really looks like the download-problem is a bit of a head-scratcher, ince Firefox 3 uses the security settings from IE, or the system itself. GPEDIT is not available in my bartpe, any suggestions how to solve this?
oscar
This firefox 3.0 version has problems with Bartpe.
Changing something inside Bartpe, for example things like customizing toolbars or changing default home page are lost after closing session.
Adding an extension is not possible at all.
Pre added (in plugin) extensions do not work.
It is not easy to make a good plugin with this 3.0 version.
Ed_P
That's ok, maybe the new 3.0.0.1 version will fix it. angry.gif

http://blogs.zdnet.com/security/?p=1288
palmer666
Hi Oscar,

i can not confirm that. I have a working plugin and no problems so far. I have also customized Firefox for my needs without any problems.
jaclaz
QUOTE (Virtual-R @ Jun 19 2008, 10:02 AM) *
UPDATE: Well, it really looks like the download-problem is a bit of a head-scratcher, ince Firefox 3 uses the security settings from IE, or the system itself. GPEDIT is not available in my bartpe, any suggestions how to solve this?


Would this work?:
http://www.dougknox.com/xp/utils/xp_securityconsole.htm

Or may be you can add GPEDIT to your build:
http://bogdan.org.ua/2007/11/15/windows-xp...a-registry.html

http://www.911cd.net/forums//index.php?showtopic=15868

jaclaz
m0gely
Well, the plugin works great for me. Flash and downloads give me no trouble. Thanks for the work on this!

I've customized a few things to my preference, and noticed the bookmark toolbar isn't operational and disabled by default. I created the places.sqlite (bookmarks.html is for FF2 and older) file from a FF3 install running on my laptop and tried putting it in the profile folder, but even after enabling the toolbar from the menu, nothing is there. Has anyone figured out how to get bookmarks working? In the German version on the forum, the toolbar is at least visible by default, but I couldn't get my bookmarks to come up there either.
oscar
Try deleting \data\profile\prefs.js or/and got to url adress about:config and change settings there (try Profile.manage_only_at_launch false)


Can you install add-ons?
For example some of this
https://addons.mozilla.org/en-US/firefox/se...bar&cat=all
m0gely
@oscar, are you replying to me? If so that doesn't make any sense.
oscar
@m0gely

If the problem is with about:config look here. Google speaks better english than me.

http://www.google.com/search?ie=UTF-8&q=about%3aconfig
m0gely
oscar, what I mean is, my problem is the bookmarks toolbar doesn't show up at all. I can enable it from the menu after BartPE is booted, but it's still has no content. I don't understand why deleting the prefs.js file would help me, as I have customized that file to my liking anyway and wouldn't want to lose that.

Also, I know about about:config, but again, I don't understand the significance of looking though it to solve this particular problem. The only value I found via the Mozilla site that looked promising was browser.bookmarks.file, but it seems to be ignored in FF3 on my laptop so I didn't bother to try it here.

As for plugins, I probably won't try. Firefox with Flash is all I need aside from the bookmarks.
Virtual-R
Jaclaz, I will try your suggestion with GPEDIT, thanx, the plugin program did not work, but I will try this too!
Virtual-R
Jaclaz, thanx for your help, I ended up cutting the registry to smaller and smaller pieces until I found the line that gave me the problem. Inf-file updated, for people having problems with downloads with my plugin, read FIRST post!
dog
Might be better to use 20080704, 080704 could be interpreted as three different dates
</moan>
Virtual-R
QUOTE (dog @ Jul 4 2008, 01:19 PM) *
Might be better to use 20080704, 080704 could be interpreted as three different dates
</moan>


LOL, fixed, just for you, dog! wink.gif
nuMe
Since most other plugs don't include a date in their title why start now? blink.gif

An option could be to put it in the description field if it's felt necessary to have it.
oscar
QUOTE (dog @ Jul 4 2008, 08:19 AM) *
Might be better to use 20080704
</moan>



It is bit sign06.gif but I read day 20, month 08, year 0704 stuart.gif

This forum is the Babel Tower worthy.gif
dog
I'm reliably informed that back in 704 they were stuck with lynx whistling.gif
m0gely
Any ideas on how to make the bookmarks work yet?
Nikky
Firefox3 & Bookmarks can be done

Same routine until today I use for FF2 without any problems.
Just for info in FF3 bookmarks is managed in sql database file.

For beginning some theory. Plugins for this kind programs can be done in few ways:
1) All program files are on cd and only necessary files are copied / moved to ramdisk
2) All program files are on ramdisk
First option is sometimes hard to manage, update isn’t easy, demand smaller ramdisk.
Second option is easy to accomplish but demand bigger ramdisk.

In this case I’ll use second option, and steps are:
1 If you use core BartPe find plugin for manage appdata in ramdisk. I use Reatogo (BartPe + Xpe) so this is automatically sorted.
2 download Firefox Setup 3.0
3 unpack it with WinRar on some temporary folder (for ex. D:\01). Someone will ask why? Because sometimes setup unpack routine inform you don’t have enough free space in situations when you really have enough of it. I have on 512 Mb ram 95 Mb ramdisk.
4 Boot yours BartPe (Reatogo, Xpe) cd.
5 Install FF3 on ramdisk (B:\Firefox).
6 Organize it whatever you like it, import old FF2 bookmarks.html, add plugins. I can doit on the fly because I have fbwf plugin. For ex. Adobe Flash player, manually copy installed files (flashplayer.xpt, NPSWF32.dll, NPSWF32_FlashUtil.exe) to B:\Firefox\plugins folder.
7 Now close (exit) FF3 and use Make_Firefox.cmd
8 Move archive to plugin Files folder and that’s it.
For use it later start via StartFF3.cmd, routine witch will expand archive and move profile files to appdata.

For end, some credit go to DigiWiz because plugin is based on his old plugin for FF2. I’m change archive (7z instead rar) and don’t use sfx routine when additionally need start routine (move profile to appdata) and this way plugin is easy to edit.

Firefox3PE.inf
CODE
; Firefox3PE.inf
; PE Builder v3 plug-in INF file for FirefoxPE
; plugin by Nikky

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="670     (Nikky)_FirefoxPE 3.0"
Enable=1

[WinntDirectories]
a="Programs\FirefoxPE",2

[SourceDisksFolders]
Files=a

[SourceDisksFiles]
StartFF3.cmd.txt=a,StartFF3.cmd,1

[Append]
nu2menu.xml, Firefox3PE_nu2menu.xml

[Software.Addreg]
; Shortcut(s) for Firefox
0x2, "Sherpya\XPEinit\Desktop", "Firefox Web Browser", "%SystemDrive%\Programs\FirefoxPE\StartFF3.cmd||%SystemDrive%\Programs\FirefoxPE\firefox.ico"
0x2, "Sherpya\XPEinit\Programs", "Firefox Web Browser", "%SystemDrive%\Programs\FirefoxPE\StartFF3.cmd||%SystemDrive%\Programs\FirefoxPE\firefox.ico"
0x2, "Sherpya\XPEinit\Programs", "Firefox Web Browser (Safe Mode)", "%temp%\Firefox\Firefox.exe|-safe-mode|%SystemDrive%\Programs\FirefoxPE\firefox.ico"
0x2, "Sherpya\XPEinit\QuickLaunch", "Firefox Web Browser", "%SystemDrive%\Programs\FirefoxPE\StartFF3.cmd||%SystemDrive%\Programs\FirefoxPE\firefox.ico"

Firefox3PE_nu2menu.xml
CODE
<!-- Nu2Menu entry for FirefoxPE -->
<NU2MENU>
    <MENU ID="Programs">               
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\FirefoxPE\StartFF3.cmd))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\FirefoxPE\StartFF3.cmd">Firefox Web Browser</MITEM>
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetTmpDir()\Firefox\Firefox.exe))" CMD="RUN" FUNC="@GetTmpDir()\Firefox\Firefox.exe -safe-mode">Firefox Web Browser (Safe Mode)</MITEM>
    </MENU>
</NU2MENU>

StartFF3.cmd.txt
CODE
@echo off
Title= Start Mozilla Firefox 3.0
setlocal
if "%temp%" == "" goto _err
if exist "%temp%\Firefox\firefox.exe" goto _StartProgram
if not exist "%temp%\Firefox" md "%temp%\Firefox"

echo.
echo Checking DiskSpace .
echo
%systemroot%\system32\freedisk b: 30000000
if errorlevel 0 goto _Start
if errorlevel 1 goto _Err2

:_Start
echo
echo Unpack . .
%SystemDrive%\Programs\FirefoxPE\Firefox.7z.Maker\7za.exe x -r -o%temp%\Firefox "%SystemDrive%\Programs\FirefoxPE\Firefox3.7z" *.* >Nul

%temp%
CD\Firefox

echo Copy . . .
xcopy "%temp%\Firefox\Profil\*.*" "%APPDATA%" /Y/Q/S/E/I
del /S /Q /F "%temp%\Firefox\Profil\*.*"

:_StartProgram
%temp%\Firefox\firefox.exe
goto _end


:_err
echo.
echo StartFF3.cmd: No temp variable set...
echo StartFF3.cmd: Try adding a ramdrive...
echo.
pause
goto _end

:_Err2
echo.
Echo Not Enough Free Space on ramdrive proceed...
Echo.
Echo.
Echo.
pause
goto _end

:_end
endlocal

Make_Firefox.cmd
CODE
REM script by Nikky

if exist %temp%Firefox3-copy.7z del /q/f %temp%Firefox3-copy.7ze
if exist %temp%Firefox3.7z ren %temp%Firefox3.7z Firefox3-copy.7z
if exist %temp%Firefox3.7z del /q/f Firefox3.7z

xcopy "%APPDATA%\Mozilla\*.*" "%temp%\Firefox\Profil\Mozilla" /Y/Q/S/E/I

del /q /f %temp%Firefox\defaults\profile\xul.mfl
del /q /f %temp%Firefox\defaults\profile\bookmarks.bak
del /q /f %temp%Firefox\defaults\profile\bookmarkbackups
del /q /f %temp%Firefox\defaults\profile\Cache
del /q /f %temp%Firefox\defaults\profile\Cache.Trash\Trash\Cache
del /q/f %temp%Firefox\tmp.xpi
rem if exist %temp%Firefox\install.log del /q/f %temp%Firefox\install.log

%SystemDrive%\Programs\FirefoxPE\Firefox.7z.Maker\7za.exe a -r %temp%\Firefox3.7z %temp%\Firefox\*.*


UPDATE: Plugin can be downloded from here: Nikky's files
Regards
Nikky
oscar
QUOTE (Nikky @ Jul 14 2008, 04:05 PM) *
Firefox3 & Bookmarks can be done


6 Organize it whatever you like it


The problem is this step,my experience is that you cannot organize whatever you like. You can with FF2 but not witrh FF3.
For example you cannot install an add-on, you cannot easily customize toolbars, etc.
Nikky
@oscar
OK, maybe isn't so easy.
I'm import and edit old bookmarks, on next boot bookmarks are in place and working.
For add-ons (plugins), I'm Install Flash player. Originaly files go to X:\i386\system32\Macromed\Flash folder. I'm copy files (see upper) in B:\Firefox\plugins folder. To be true, some files for flash I have already on cd (for Reatogo see OEM1\5-reatogo_XPE_main\flash folder). On next boot flash animation in FF3 works for me.
Maybe if you have some complicated FF plugin witch additional settings are stored some ware in registry.

Do you have and use fbwf BartPe plugin?
Do you use core BartPe or BartPe + Xpe or Reatogo as I do?

Is anyone else try (Virtual-R maybe) ?
dog
I've thrown together a ff3 plugin, I have it importing from a ff2 bookmarks.html, and not showing the default mozilla links or bookmarks toolbar. Not tried any add-ons yet.
Nikky
Just for the record, I use normal Setup (not Portable version).
oscar
Portable Firefox, normal Firefox, no way, FF3 for Bartpe is a piece of poo.


Searching in Ffirefox forums I have found that too many people thinks FF3 is worse than FF2.
Too buggy, too unstable.
Nikky
What I can say? Picture show as 1000 words. Pics is taken fiew min ago with my Reatogo bulid and FF3:




Screenshoots, image upload, this post is made with my Reatogo bulid and FF3.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.