Is there a way to save/launch url links from a PC folder?

User Help for Mozilla Firefox
User avatar
c627627
Posts: 643
Joined: April 3rd, 2005, 12:58 pm
Location: Kansas City, Missouri
Contact:

Re: Is there a way to save/launch url links from a PC folder

Post by c627627 »

Thank you.
Is the physical location of the Favorites folder custom-set by user?
Can one same identical Favorites folder be used by every Firefox portable installation on a PC?

In other words, even if a single PC is a multi-boot with different versions of Windows... can every Firefox Portable on one PC have its own PlainOldFavorites point to the one single same physical location? So they all add and share url links accessible through the button you made?

I notice you are using the official Firefox latest release, not Developer Edition not Nightly - which is fantastic.

You are running a 32-Bit OS!
I know for a fact that PlainOldFavorites could only run on 32-Bit Firefox and not 64-Bit Firefox back in the day.

I will try to understand and replicate what you did, by studying the other thread and your post then write complete instructions.

But I am concerned about 64-Bit...
Can your instructions work on installed version, because whereas you can install a 32-Bit Firefox, the Portable Firefox version is dual, so I don't know if Portable will force 64-Bit installation on a 64-Bit Windows thereby possibly not being compatible with PlainOldFavorites... But I will try to figure out how you did all this... thank you.
Open the pod bay doors, Cortana.
morat
Posts: 6427
Joined: February 3rd, 2009, 6:29 pm

Re: Is there a way to save/launch url links from a PC folder

Post by morat »

The "Add a Favorite" and "Organize Favorites" menu items use the C:\Users\<USERNAME>\Favorites folder.

I'm using the same folder for the "Open Favorites in New Tab" and "Open Favorites in File Explorer" menu items.

I never tested if the "Favs" file path changes after changing the default location for saving Internet Explorer favorites.

Code: Select all

(function () {
  var file = Components.classes["@mozilla.org/file/directory_service;1"].
    getService(Components.interfaces.nsIProperties).
    get("Favs", Components.interfaces.nsIFile);
  alert(file.path);
})();
Change the Default Location for Saving Internet Explorer Favorites
http://www.howtogeek.com/115412/
User avatar
c627627
Posts: 643
Joined: April 3rd, 2005, 12:58 pm
Location: Kansas City, Missouri
Contact:

Re: Is there a way to save/launch url links from a PC folder?

Post by c627627 »

Do you have a signed bootstrapLoader.xpi file, I think developers can sign am xpi file for personal use?

No matter what I tried I always got "This add-on could not be installed because it appears to be corrupt."
Open the pod bay doors, Cortana.
User avatar
jscher2000
Posts: 11762
Joined: December 19th, 2004, 12:26 am
Location: Silicon Valley, CA USA
Contact:

Re: Is there a way to save/launch url links from a PC folder?

Post by jscher2000 »

(1) Installing unsigned XPI files

You can do this in Firefox Developer Edition or in Firefox Nightly after toggling the xpinstall.signatures.required preference to false. See https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox. This preference has no effect in regular Firefox.

(2) WebExtensions (Fx57+) accessing random folders

Extensions normally cannot randomly access files on disk. However, by creating a companion application -- which the user needs to install separately from the .xpi file -- the extension can obtain expanded scope/functionality using "Native Messaging." I don't have any personal experience developing for this feature.
User avatar
c627627
Posts: 643
Joined: April 3rd, 2005, 12:58 pm
Location: Kansas City, Missouri
Contact:

Re: Is there a way to save/launch url links from a PC folder?

Post by c627627 »

I have been trying to do this for a few years now, with understanding that Firefox Developer Edition is required.
morat tested this to be possible, but I cannot replicate it.

I was wondering if someone could zip a folder of modified Firefox 115 portable developer version from
https://sourceforge.net/projects/portab ... 0Beta%201/

[v115 is the last one that can also be used on Windows versions before Win 10 on old machines.]

with installed xpi files:

bootstrapLoader.xpi
http://github.com/xiaoxiaoflood/firefox ... trapLoader

dta.xpi
http://github.com/xiaoxiaoflood/firefox ... ownThemAll


morat's Instructions:

* install portable app
* run FirefoxPortableDeveloper\FirefoxPortable.exe to startup
* download latest version
* Menu Bar > Help > About Firefox, then click restart button
* Menu Bar > Help > About Firefox, then check version e.g. 97.0b3
* open about:config
* set extensions.experiments.enabled pref to true
* set extensions.htmlaboutaddons.recommendations.enabled pref to false
* set xpinstall.signatures.required pref to false
* open about:addons > Gear Icon > Install Addon From File
* install bootstrapLoader.xpi
* Menu Bar > File > Exit

Check if the processes are properly closed in Command Prompt window.

tasklist /fi "imagename eq FirefoxPortable.exe"
tasklist /fi "imagename eq firefox.exe"

* run FirefoxPortableDeveloper\FirefoxPortable.exe to startup
* open about:addons > Gear Icon > Install Addon From File
* install dta.xpi
Open the pod bay doors, Cortana.
Post Reply