Topic: Firefox Universal Plugin Development  (Read 35529 times)

0 Members and 1 Guest are viewing this topic.

Re: Firefox Universal Plugin Development
« Reply #120 on: October 30, 2017, 05:18:13 PM »

bob.omb

  • Chef
  • ***
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 162
I had to add the following registry keys to get firefox to open .html files by default (without being prompted by windows - and to "always" use firefox to open .html files) - These keys are hardcoded to having firefox "Run from CD".  Not sure how to make them universal but they work on my build.

Code: [Select]
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts,Firefox_HTML_.html,0
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts,IE.AssocFile.HTM_.html,0
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts,Applications\Firefox.exe_.html,0
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithList,a,Firefox.exe
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithList,MRUList,a
If,Not,ExistRegKey,HKLM,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithProgids,Firefox_HTML,ShellExecute,Hide,Reg.exe,"ADD #$qHKLM\Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\OpenWithProgids#$q /v #$qFirefox_HTML#$q /t REG_NONE"
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice,Hash,lZTXi8ItTSk=
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice,ProgId,AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\FileAssociations\ProgIds,_.pdf,1
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings",EnableNegotiate,1
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings",MigrateProxy,1
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache",ContentLimit,15
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache",TotalContentLimit,15
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache",AppContainerTotalContentLimit,15
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache",AppContainerContentLimit,15
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache",Version,3
RegWrite,HKLM,0x3,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections",DefaultConnectionSettings,46,00,00,00,03,00,00,00,09,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
RegWrite,HKLM,0x3,"Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections",SavedLegacySettings,46,00,00,00,02,00,00,00,09,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache","Y:\Programs\Mozilla Firefox\Firefox.exe.FriendlyAppName",Firefox
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache","Y:\Programs\Mozilla Firefox\Firefox.exe.ApplicationCompany","Mozilla Corporation"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache",X:\Windows\System32\ieproxy.dll.FriendlyAppName,"IE ActiveX Interface Marshaling Library"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache",X:\Windows\System32\ieproxy.dll.ApplicationCompany,"Microsoft Corporation"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache",X:\windows\system32\mspaint.exe.FriendlyAppName,Paint
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache",X:\windows\system32\mspaint.exe.ApplicationCompany,"Microsoft Corporation"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache","x:\Program Files\Windows NT\Accessories\WORDPAD.EXE.FriendlyAppName",WordPad
RegWrite,HKLM,0x1,"Tmp_Default\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache","x:\Program Files\Windows NT\Accessories\WORDPAD.EXE.ApplicationCompany","Microsoft Corporation"
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice,Hash,hL575WuR7e0=
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice,ProgId,Firefox_HTML

and

Code: [Select]
RegWrite,HKLM,0x2,Tmp_Software\Classes\Applications\Firefox.exe\shell\open\command,,"#$qY:\Programs\Mozilla Firefox\Firefox.exe#$q #$q#$p1#$q"
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Tracing,EnableConsoleTracing,0
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Tracing\Firefox_RASAPI32,EnableFileTracing,0
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Tracing\Firefox_RASAPI32,EnableAutoFileTracing,0
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Tracing\Firefox_RASAPI32,EnableConsoleTracing,0
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Tracing\Firefox_RASAPI32,FileTracingMask,-65536
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Tracing\Firefox_RASAPI32,ConsoleTracingMask,-65536
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Tracing\Firefox_RASAPI32,MaxFileSize,1048576
RegWrite,HKLM,0x2,Tmp_Software\WOW6432Node\Microsoft\Tracing\Firefox_RASAPI32,FileDirectory,#$pwindir#$p\tracing
RegWrite,HKLM,0x1,Tmp_Software\WOW6432Node\Microsoft\WBEM\CIMOM,"Log File Max Size",65536
RegWrite,HKLM,0x4,Tmp_Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer,GlobalAssocChangedCounter,1
RegWrite,HKLM,0x4,Tmp_Software\Microsoft\Windows\CurrentVersion\Explorer,GlobalAssocChangedCounter,17
« Last Edit: October 30, 2017, 05:20:33 PM by bob.omb »

Re: Firefox Universal Plugin Development
« Reply #121 on: October 31, 2017, 05:08:54 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 240
A bunch of changes needs to be done, I'll upload a new version soon.
I know that Flash support is broken currently, I don't make much use of it any more so I haven't fixed it yet.
Maybe I'll follow Prz42's suggestion to support Flash_Add.Script, too.

Re: Firefox Universal Plugin Development
« Reply #122 on: October 31, 2017, 11:54:22 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7378
Hi Mikka,

Tip For file associations :
follow Chris FireFox plugin 'Mozilla Firefox CR' on server.

We use same association routine on all browser plugins on servers,
 as a result there becomes no failures related to browser associations.  :wink:

:turtle:
« Last Edit: November 01, 2017, 12:12:30 AM by Lancelot »

Re: Firefox Universal Plugin Development
« Reply #123 on: November 01, 2017, 03:19:55 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 240
Bugfixed and generally revised version has been updated.

Old download counter was 123 downloads.
Let's see if we can top that!
:grin:

 

Powered by EzPortal