Topic: Firefox Universal Plugin Development  (Read 24826 times)

0 Members and 1 Guest are viewing this topic.

Re: Additional web browser scripts [now cooler than ever!]
« Reply #40 on: December 08, 2014, 12:13:21 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
No, a current Adobe FlashPlayer version should be correctly installed on the host system.
Make sure to always run WinBuilder as Administrator even if you do work as an administrator.
I recommend also to verify in WB "Options": Errors > [ ] Stop Build on Error (uncheck here)
I haven't yet seen and cannot reproduce this error.

Re: Additional web browser scripts [now cooler than ever!]
« Reply #41 on: December 08, 2014, 08:27:50 PM »

Prz42

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2014
  • Posts: 409
Hi Mikka,
I made sure to always run WinBuilder as Administrator even if you do work as an administrator.  I am building the x86 version on a x64 Computer.
On the first build I unchecked the box AdobePlayer from Host and it completed with no errors.
I booted up the PE and Firefox version 34.05 would not run and came up with errors.
I rebuilt the PE using Firefox version 31.0 with the unchecked the box AdobePlayer from Host and it completed with no errors.
I booted up the PE and Firefox version 31.0 and it ran with no error.  I then went to U-Tube and it asked for flash, but was playing video.
I also installed the Flash Player scripted by Author=Saydin77, Lancelot.  I am sure that is what made it work.
I rebuilt the PE using Firefox version 31.0 with the checked the box AdobePlayer from Host and it completed with error and stopped the script.
RegRead - Failed to read specified key from: [HKLM]Section: [SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer]  Key: [Description] to variable:: [%FlashVer%]
I also check the Host Computer and in C:\Windows\SysWOW64\Macromed\Flash  I don't have the files that are being requested by your script.  (But I am not a programmer)
Hopefully all of this helps solve this situation.  Thanks for all you help.  I uploaded the scripts to make sure I am working with the correct files.

Re: Additional web browser scripts [now cooler than ever!]
« Reply #42 on: December 09, 2014, 10:33:36 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
  • Run Firefox browser on your host system, enter about:plugins in the address field,
    search for "Shockwave Flash" and copy both "File" and "Path". Paste the information here.
  • Enter the following into WinBuilder's Code Box:
    Code: [Select]
    [Main]
    Title=
    Description=

    [Variables]

    [Process]
    RegRead,HKLM,SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer,Description,%FlashVer%
    Message,"FlashVer: %FlashVer%#$xSysType: %SysType%",Information

    Having done that, execute it with the green play button.
    Copy the message's content using Ctrl and C and paste it here.

Re: Additional web browser scripts [now cooler than ever!]
« Reply #43 on: December 09, 2014, 12:48:42 PM »

Prz42

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2014
  • Posts: 409
Hi Mikka,
You said:
Run Firefox browser on your host system, enter about:plugins in the address field,
search for "Shockwave Flash" and copy both "File" and "Path". Paste the information here.

I don't run Firefox on the host computer.  I do run google chrome. Is that going to be a problem?

Re: Additional web browser scripts [now cooler than ever!]
« Reply #44 on: December 10, 2014, 11:02:44 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
Okay, list the FlashPlayer folder's content of your host system instead:
For a 64bit Windows it's here: C:\Windows\SysWOW64\Macromed\Flash

Follow the 2nd (i.e. WB Code Box), too, and tell me the result.

Re: Additional web browser scripts [now cooler than ever!]
« Reply #45 on: December 10, 2014, 04:20:30 PM »

Prz42

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2014
  • Posts: 409
Hi Mikka,
Hope this helps :embarrassed:

Code: [Select]
For a 64bit Windows the files in this folder are: C:\Windows\SysWOW64\Macromed\Flash

activex.vch
Flash.ocx
FlashInstall.log
FlashPlayerUpdateService.exe
FlashUtil_ActiveX.dll
FlashUtil_ActiveX.exe
mms.cfg
Thanks for all your help :thumbsup:

Re: Additional web browser scripts [now cooler than ever!]
« Reply #46 on: December 11, 2014, 11:54:32 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
You must install FlashPlayer plugin (for browsers other than IE), otherwise Firefox universal script won't work.
The script will look for a file like NPSWF32_16_0_0_235.dll and work with that.

Re: Additional web browser scripts [now cooler than ever!]
« Reply #47 on: December 11, 2014, 03:03:54 PM »

Prz42

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2014
  • Posts: 409
Hi Mikka,
As I previously post I am using Google Chrome in the host computer which is using 32 bit flash.
I was wondering is your script couldn't be adapted to work with Saydin77 and Lancelot flash player script?
Also did you ever figure out why  the firefox script will only work with Firefox Setup 31.0.exe or lower?
Hopefully some of this will help?  I will also install Firefox in my Virtual Windows.  I installed on the
Firefox and adobe flash on the Virtual Machine and copied the files from C:\Windows\SysWOW64\Macromed\Flash
to the host computer and choose the option not to over right any files.  Then I copied the registry entries
from the Virtual Machine to the Host machine and ran the Winbuilders Program.  It came up with this error message.

RegRead - Failed to read specified key from: [HKLM]Section: [SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer]  Key: [Description] to variable:: [%FlashVer%]

Hopefully this will help.  I think it would be nice to have Firefox on the PE Program.  Added the registry key in code text
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins]

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@adobe.com/FlashPlayer]
"Path"="C:\\Windows\\system32\\Macromed\\Flash\\NPSWF64_16_0_0_235.dll"
"ProductName"="Adobe® Flash® Player 16.0.0.235 Plugin"
"Vendor"="Adobe Systems Incorporated"
"Description"="Adobe® Flash® Player 16.0.0.235 Plugin"
"Version"="16.0.0.235"

After that failed downloaded Adobe Flash Player from
http://get.adobe.com/flashplayer/download/?installer=FP_16_for_Firefox_-_NPAPI&os=Windows%208.1&browser_type=KHTML&browser_dist=Chrome&d=McAfee_Security_Scan_Plus_Chrome_Browser&dualoffer=false
The downloaded file name is install_flashplayer16x32_mssd_aaa_aih.exe
Installed the file and worked like a charm.
Thanks again for your help.
« Last Edit: December 11, 2014, 03:49:53 PM by Mark »

Re: Additional web browser scripts [now cooler than ever!]
« Reply #48 on: December 13, 2014, 03:07:53 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
Okay, now I got the time for a closer look.

  • I won't support any Flash player script in nearer future.
  • Mozilla Firefox universal 13 supports up to Firefox Setup 35.0 Beta 1 (tested).
  • I improved the [CopyFlash] section in version 14.
  • If Adobe FlashPlayer hasn't been installed on the host system, Registry keys will be missing.
  • Also, if the Adobe FlashPlayer installation is broken, [CopyFlash] may fail (there's at least one situation I can imagine).
    In that case perform an uninstallation using Adobe's Flash Uninstaller and re-install FlashPlayer (which is a good idea anyway).
« Last Edit: December 25, 2014, 05:05:32 AM by Mikka »

Re: Additional web browser scripts [now cooler than ever!]
« Reply #49 on: September 22, 2015, 07:04:21 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
The Firefox script has been updated.

Re: Additional web browser scripts [now cooler than ever!]
« Reply #50 on: October 01, 2015, 11:43:23 PM »

NexusFred

  • Jr. Chef
  • **
  • Location: Europe
  • Date Registered: Sep 2015
  • Posts: 20
Thanks for the Firefox Plugin!!

I would like to install some addons with Firefox, but someone need a Preference file to work well, like Stylish (to change the CSS) or Classic Theme Restorer to restore the old Firefox look. Install them is not a problem but how install the Prefs at the same time ?

Classic Theme Restorer can save/load the Prefs in/from a Json or txt file. But how automatically apply the Prefs ?

Sample of the txt version
Code: [Select]
CTR_Preferences__DO_NOT_EDIT__'='->booleans__':'->strings__'~'->integers
transptcw10=false
tabseparator:tabsep_default
nbiconsize:small
...




Re: Additional web browser scripts [now cooler than ever!]
« Reply #51 on: October 01, 2015, 11:48:16 PM »

NexusFred

  • Jr. Chef
  • **
  • Location: Europe
  • Date Registered: Sep 2015
  • Posts: 20
Sorry to ask 2 times how to install the prefs !! I must be blind but I can't find the Edit Message button  :grin: :embarrassed:

Re: Additional web browser scripts [now cooler than ever!]
« Reply #52 on: October 02, 2015, 03:50:07 AM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
If I got you right, you wish to include add-ons (xpi files for Firefox) with the script. I can confirm
that this works with add-ons such as Stylish, Classic Theme Restorer Customize UI or
Adblock Edge.

My method is customizing the add-ons to meet your needs. For instance Stylish:
I put the config sqlite file in the folder of the xpi files, this is an addition for the Stylish add-on.
It will get copied into Firefox' profile folder of the build.

As to other add-ons, I usually touch the e.g. config js file under \defaults\preferences\ or the kin
and recreate the xpi (i.e. zip) file afterwards.

Does this answer your question?
« Last Edit: October 02, 2015, 03:52:34 AM by Mikka, Reason: More details »

Re: Additional web browser scripts [now cooler than ever!]
« Reply #53 on: October 02, 2015, 10:21:43 AM »

NexusFred

  • Jr. Chef
  • **
  • Location: Europe
  • Date Registered: Sep 2015
  • Posts: 20
Quote
Does this answer your question?

Perfect !! 5/5  :great:

Thanks

Re: Additional web browser scripts [now cooler than ever!]
« Reply #54 on: October 02, 2015, 11:17:57 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
Here's my procedure for Stylish 2.0.2.1:

  • Extract the xpi file into a directory (e.g. with 7-Zip)
  • In the directory first delete the META-INF subdirectory
    (i.e. signature data, you won't be able to use the modified add-on later on if you keep this)
  • Optionally edit install.rdf: <em:version>2.0.2.1-unsigned</em:version>
  • Optionally edit install.rdf: <em:maxVersion>50.0</em:maxVersion>
    ("Firefox" section)
  • Open \defaults\preferences\stylish.js and edit: pref("extensions.stylish.firstRun", 3);
    (This will prevent the first launch tab for the Stylish add-on)
  • Create a new zip archive with xpi file extension
  • Use that xpi file for the Firefox universal script
« Last Edit: October 02, 2015, 11:19:27 PM by Mikka, Reason: correction »

Re: Additional web browser scripts [now cooler than ever!]
« Reply #55 on: October 03, 2015, 03:47:52 AM »

NexusFred

  • Jr. Chef
  • **
  • Location: Europe
  • Date Registered: Sep 2015
  • Posts: 20
Thanks for Stylish !!  :thumbsup:

Maybe It's will be interesting to have in the script the possibility to load a .js to tweak the Firefox Prefs ?

Like this it's will be possible to customize easily Firefox !!  :w00t:





Best Regards

Re: Additional web browser scripts [now cooler than ever!]
« Reply #56 on: October 03, 2015, 04:41:32 AM »

Atari800xl

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Feb 2013
  • Posts: 756
Nice to see Mikka back!!

Re: Additional web browser scripts [now cooler than ever!]
« Reply #57 on: October 03, 2015, 05:43:31 AM »

APT

  • Jr. Chef
  • **
  • Date Registered: Nov 2012
  • Posts: 62
sorry posted to wrong topic - moved
« Last Edit: October 03, 2015, 11:59:13 PM by APT »

Re: Additional web browser scripts [now cooler than ever!]
« Reply #58 on: October 03, 2015, 09:24:17 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6944
Hi APT,

Opera plugin have its own topic, you are on wrong topic.


Hi Mikka,

Maybe better change title to:
'Mozilla Firefox' & 'SRWare Iron'. Cooler Web Browser Plugins.

 :wink:

:turtle:
« Last Edit: October 03, 2015, 10:17:49 PM by Lancelot »

Re: Additional web browser scripts [now cooler than ever!]
« Reply #59 on: October 03, 2015, 11:29:14 PM »

Mikka

  • Code Baker
  • Chef
  • ***
  • Location: Germany
  • Date Registered: May 2012
  • Posts: 234
@Lancelot: In fact, it's merely Additional Firefox universal script now, that's the one I focus on.
(The SRWare Iron script is discontinued as this browser gave me a hard time...)

@NexusFred: Which kind of .js tweak do you think of? Maybe it's better to incorporate
the tweak in the [WritePrefs] section of the script?

@Atari800xl: Hi, I wasn't ever gone, just keeping calm. :wink:

 

Powered by EzPortal