🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1114011
What is the actual URL for the Firefox search page? I use ...
March 12, 2016 - ''Minglewood [[#question-1114011|said]]'' <blockquote> I can't get to the Firefox/Mozilla Search in another browser without the URL, or the IP address associated with that URL, providing that the IP won't change.</blockquote> Mozilla does not operate a search engine; there's no address of any kind.
🌐
Firefox
firefox.com › en-US
Get Firefox — Firefox.com
Please download Firefox ESR (Extended Support Release) to use Firefox.
Discussions

How do I bring back the full URL in the address bar? I want to see https://www.example.com
In about:config, toggle browser.urlbar.trimURLs to false. Does that work on yours? More on reddit.com
🌐 r/firefox
10
37
August 12, 2025
How to Get URL of FireFox Current Document?
There is a specific KM Action to get the Chrome URL, but I don't see how to get the FireFox URL. Any suggestions? More on forum.keyboardmaestro.com
🌐 forum.keyboardmaestro.com
0
0
March 31, 2015
Getting current browser url in Firefox Addon
I within a panel and I want to get the current browser URL. Nothing so far works. Here's what I've tested: Only thing that even returns anything, I get something like resource://jid0- More on stackoverflow.com
🌐 stackoverflow.com
What URLs are used to update the browser
Can I ask what your use case is? If you are trying to block tracking you can use NextDNS which would automate all of this for you. But if this is for some other purpose we need to know what it is so we can help you better More on reddit.com
🌐 r/firefox
4
4
October 17, 2023
🌐
Mozilla Support
support.mozilla.org › en-US › kb › search-firefox-address-bar
Search with the Firefox address bar | Firefox Help
To learn more, see Address bar autocomplete suggestions in Firefox. As you type a web address or search term in the address bar, the URL autocomplete feature automatically finishes what you’re typing based on matching websites in your bookmarks, history or popular websites.
🌐
Firefox Source Docs
firefox-source-docs.mozilla.org › toolkit › internal-urls.html
Internal URLs — Firefox Source Docs documentation
Unfortunately more fine-grained restrictions are not available for resource URLs. ... The first (“host”) component after chrome:// is the package name. Common ones are browser (for front-end Desktop Firefox files) and global (for content used by Gecko/toolkit code), but different parts ...
🌐
Keyboard Maestro
forum.keyboardmaestro.com › questions & suggestions
How to Get URL of FireFox Current Document? - Questions & Suggestions - Keyboard Maestro Discourse
March 31, 2015 - There is a specific KM Action to get the Chrome URL, but I don't see how to get the FireFox URL. Any suggestions?
🌐
Mozilla Support
support.mozilla.org › en-US › kb › firefox-options-preferences-and-settings
Change Firefox options, preferences and settings | Firefox Help
February 7, 2026 - Change Firefox connection settings and set a proxy to connect to the Internet. ... Homepage and new windows: Set a custom URL or use the default Firefox Home.
Find elsewhere
Top answer
1 of 7
17

getting the URL from a sidebar or popup

To retrieve the URL from a sidebar or popup requires tab permissions

"permissions": [
    "tabs"
  ]

then you need to find the tab you want. If you just want the active tab this would work fine, for anything more advanced I'd look here.

function getPage(){
  browser.tabs.query({currentWindow: true, active: true})
    .then((tabs) => {
      console.log(tabs[0].url);
  })
}

getting the URL from injected javascript

If you want the URL for a background task I suggest this method as you do not need permissions.

this will give you a background script and then inject a script onto almost any webpage on the internet.

"background": {
    "scripts": ["background.js"]
},

"content_scripts": [
    {
      "matches": ["https://www.*"],
      "js": ["modify-page/URL.js"]
    }
  ],

this will be injected into webpages through the URL js and will send a message to your background js to use.

var service= browser.runtime.connect({name:"port-from-cs"});

service.postMessage({location: document.URL});

This code is in your background js and will collect each new page's url as it changes.

var portFromCS;

function connected(p) {
  portFromCS = p;
  portFromCS.onMessage.addListener(function(m) {
    if(m.location !== undefined){
      console.log(m.location);
    }
  });
}

browser.runtime.onConnect.addListener(connected);
2 of 7
8
// you need to use this service first
var windowsService = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(Components.interfaces.nsIWindowMediator);

// window object representing the most recent (active) instance of Firefox
var currentWindow = windowsService.getMostRecentWindow('navigator:browser');

// most recent (active) browser object - that's the document frame inside the chrome
var browser = currentWindow.getBrowser();

// object containing all the data about an address displayed in the browser
var uri = browser.currentURI;

// textual representation of the actual full URL displayed in the browser
var url = uri.spec;
free and open source web browser
Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web … Wikipedia
Factsheet
Developers Mozilla Foundation and its contributors
Mozilla Corporation
Initial release November 9, 2004; 21 years ago (2004-11-09)
Written in C++, JavaScript, HTML, C, Rust, and others
Factsheet
Developers Mozilla Foundation and its contributors
Mozilla Corporation
Initial release November 9, 2004; 21 years ago (2004-11-09)
Written in C++, JavaScript, HTML, C, Rust, and others
🌐
Wikipedia
en.wikipedia.org › wiki › Firefox
Firefox - Wikipedia
6 days ago - Modern day Firefox instead follows the standard same-origin policy permission model that is followed by most modern browsers which disallows scripts from accessing any privileged data including data about other websites. It uses TLS to protect communications with web servers using strong cryptography when using the HTTPS protocol. The freely available HTTPS Everywhere add-on enforces HTTPS, even if a regular HTTP URL ...
🌐
Mozilla Add-ons
addons.mozilla.org › en-US › firefox › addon › url-link
URL Link – Get this Extension for 🦊 Firefox (en-US)
June 17, 2022 - Download URL Link for Firefox. URL Link is a small Firefox and Thunderbird extension that allows you to select a non-URL in a mail/news message or web-page, and open it in a browser window.
Rating: 4.2 ​ - ​ 18 votes
🌐
Mozilla Support
support.mozilla.org › en-US › kb › how-to-set-the-home-page
How to set the home page | Firefox Help
In the Menu bar at the top of the screen, click Firefox and select Settings (or Preferences, in some cases).Click the menu button and select Settings. Go to Home panel. Select Custom URLs… from the Homepage and new windows drop-down menu.
🌐
Mozilla Support
support.mozilla.org › bm › questions › 1086615
I need the URL for the Firefox startpage so I can put it in my ...
October 1, 2015 - JavaScript is disabled in your browser · Please enable JavaScript to proceed · A required part of this site couldn’t load. This may be due to a browser extension, network issues, or browser settings. Please check your connection, disable any ad blockers, or try using a different browser
🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1057580
what is a URL and where wouldI find it | Firefox Support Forum | Mozilla Support
April 15, 2015 - You can find the full version of the current current Firefox release (37.0.1) in all languages and all operating systems here: *https://www.mozilla.org/en-US/firefox/all/ ... Not entirely sure about your question but just in case, the URL(Uniform Resource Locator) is the short, fancy name for the web address e.g.
🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1365694
Set up custom default search URL | Firefox Support Forum | Mozilla Support
I think it's hidden because it's not done yet, but I think it's safe to experiment with it. Here's how: (1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk. More info on about:config: Configuration Editor for Firefox.
🌐
Reddit
reddit.com › r/firefox › what urls are used to update the browser
r/firefox on Reddit: What URLs are used to update the browser
October 17, 2023 -

So I have a couple of computers that shouldn't get 100% internet access but SOME things can be allowed that are essential, like browser updates.

Google Chrome currently works without any problems and they have their URLs listed.
However, FF only has, to my knowledge, one: aus5.mozilla.org
but updating fails, even with the use of wildcards.

Allowing www.mozilla.org and ftp.mozilla.org also doesn't work.
So far with those URLs it can detect that a new version is available and starts downloading with zero progress. ftp.mozilla.org at least allows me to manually download an installer but it would be nice to get auto updates working.

VeryLateUpdate:

I got this working by allowing the following FQDNs:
aus5.mozilla.org
download.mozilla.org
ftp.mozilla.org
www.mozilla.org

For some reason if I use FQDN objects it works but using CheckPoint's "Custom Application Site" object
it doesn't work (well it does but something is making it fail).
Haven't taken a deep look into why this was the case but at least it's been working for
several months.

🌐
Mozilla
blog.mozilla.org › home › latest › a smarter, simpler firefox address bar
A smarter, simpler Firefox address bar | The Mozilla Blog
August 8, 2025 - Cleaner URLs with smarter security cues We’ve simplified the address bar by trimming “https://” from secure sites, while clearly highlighting when a site isn’t secure. This small change improves clarity without sacrificing awareness. These updates are part of a larger direction we’re taking in Firefox — toward a browser that supports people in all parts of their online lives, from quick lookups to complex research.The new address bar is now available in Firefox version 138.
🌐
WebAIM
wave.webaim.org › extension
WAVE Chrome, Firefox, and Edge Extensions
The WAVE Chrome, Firefox, and Edge extensions allows you to evaluate web content for accessibility issues directly within your browser. Because the extension runs entirely within your web browser, no information is sent to the WAVE server. This ensures 100% private and secure accessibility ...
🌐
Reddit
reddit.com › r/firefox › add my own url as default search engine
r/firefox on Reddit: Add my own URL as default search engine
June 16, 2024 -

I want to set https://www.google.com/search?q=%s&udm=14 as my default search engine. How do I do that. Looks like FF gives me a few choices of search engines but I see no where that I can add my own custom URL.

(I want to use https://www.google.com/search?q=%s&udm=14 instead of https://www.google.com because that turns off AI and other crap. Per this article: https://spectrum.ieee.org/turn-off-ai-overview-google)

Top answer
1 of 5
6
Two methods to install custom search engine plugin(s)... then select as your Default Search Engine: i) Enable the 'Add' Search Engine plugins button on the Settings > Search page ('about:preferences#search'). Open the Advanced Preferences editor ('about:config') and create a new (hidden) boolean preference by pasting in 'browser.urlbar.update2.engineAliasRefresh'... click the '+' symbol... and check new preference is set to 'true'. (May need a browser restart to see the 'Add' button appear below the normal 'Search Shortcuts' box.) Although enabling the 'Add' button is simple... it is less flexible... i.e. can't add favicons for new search plugins. ii) For full add search engine plugin options... try the very good ' Add custom search engine ' extension by Tom Schuster... very neat and flexible. :) Another extension that does the same thing is ' Search Engines Helper ' by Soufiane Sakhi. Note - No need to keep either of above 'add search engine plugin' extensions enabled or even installed once new search plugin(s) have been installed. PS. Also several useful extensions (e.g. ' Context Web Search ' by Guido Berhörster) that allow the selection of any of the installed search engine plugins from the right-click Context menu.
2 of 5
2
It does not need an extension. Toggle browser.urlbar.update2.engineAliasRefresh and the Add button is returned to the panel in the search preferences, so you can directly enter a URL there. Another option, which I really like to use, is saving searches as bookmarks with a [usually] single-character keyword. For instance, searching Wikipedia for the article about Mozilla just needs me to type w mozilla and Enter and I'm there. I have keyword searches for several sites and search engines.