Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to the Power Users community on Codidact!

Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.

Post History

71%
+3 −0
Q&A How to resolve an abstracted internal URI in Firefox?

Premise about:preferences resolves to chrome://browser/content/preferences/preferences.xhtml, which itself resolves to jar:file:///usr/lib64/firefox/browser/omni.ja!/chrome/browser/content/browser...

1 answer  ·  posted 1y ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭  ·  last activity 3mo ago by Mr. Beedell, Roke Julian Lockhart (RJLB)‭

Question firefox
#3: Post edited by user avatar Mr. Beedell, Roke Julian Lockhart (RJLB)‭ · 2026-06-01T12:27:56Z (4 months ago)
  • #### Premise
  • `about:preferences` resolves to `chrome://browser/content/preferences/preferences.xhtml`, which itself resolves to `jar:file:///usr/lib64/firefox/browser/omni.ja!/chrome/browser/content/browser/preferences/preferences.xhtml`. Similarly, `resource://pdf.js/web/viewer.html` exists.
  • #### Desire
  • How can I ascertain this in a deterministic manner (that is, without needing to search for it in `chrome://browser/content/preferences/`/`jar:file:///usr/lib64/firefox/browser/omni.ja!/`)?
  • #### Rationale
  • I ask because, as of yet, I've been unable to ascertain what `about:crashes` resolves to, despite being quite confident, per [`github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html`][1], that it's `crashes.html`.
  • [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
  • #### Diagnosis
  • I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
  • #### Premise
  • `about:preferences` resolves to `chrome://browser/content/preferences/preferences.xhtml`, which itself resolves to `jar:file:///usr/lib64/firefox/browser/omni.ja!/chrome/browser/content/browser/preferences/preferences.xhtml`.
  • Similarly, `resource://pdf.js/web/viewer.html` exists, and I am utterly unfamiliar with that the distinction is, nor how one might resolve that to the aforementioned URI structure.
  • #### Desire
  • How can I ascertain this in a deterministic manner (that is, without needing to search for it in `chrome://browser/content/preferences/`/`jar:file:///usr/lib64/firefox/browser/omni.ja!/`)?
  • #### Rationale
  • I ask because, as of yet, I've been unable to ascertain what `about:crashes` resolves to, despite being quite confident, per [`github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html`][1], that it's `crashes.html`.
  • [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
  • #### Diagnosis
  • I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
#2: Post edited by user avatar Mr. Beedell, Roke Julian Lockhart (RJLB)‭ · 2026-06-01T12:27:15Z (4 months ago)
  • #### Premise
  • `about:preferences` resolves to `chrome://browser/content/preferences/preferences.xhtml`, which itself resolves to `jar:file:///usr/lib64/firefox/browser/omni.ja!/chrome/browser/content/browser/preferences/preferences.xhtml`.
  • #### Desire
  • How can I ascertain this in a deterministic manner (that is, without needing to search for it in `chrome://browser/content/preferences/`/`jar:file:///usr/lib64/firefox/browser/omni.ja!/`)?
  • #### Rationale
  • I ask because, as of yet, I've been unable to ascertain what `about:crashes` resolves to, despite being quite confident, per [`github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html`][1], that it's `crashes.html`.
  • [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
  • #### Diagnosis
  • I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
  • #### Premise
  • `about:preferences` resolves to `chrome://browser/content/preferences/preferences.xhtml`, which itself resolves to `jar:file:///usr/lib64/firefox/browser/omni.ja!/chrome/browser/content/browser/preferences/preferences.xhtml`. Similarly, `resource://pdf.js/web/viewer.html` exists.
  • #### Desire
  • How can I ascertain this in a deterministic manner (that is, without needing to search for it in `chrome://browser/content/preferences/`/`jar:file:///usr/lib64/firefox/browser/omni.ja!/`)?
  • #### Rationale
  • I ask because, as of yet, I've been unable to ascertain what `about:crashes` resolves to, despite being quite confident, per [`github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html`][1], that it's `crashes.html`.
  • [1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22
  • #### Diagnosis
  • I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.
#1: Initial revision by user avatar Mr. Beedell, Roke Julian Lockhart (RJLB)‭ · 2025-08-25T00:14:26Z (about 1 year ago)
How to resolve an abstracted internal URI in Firefox?
#### Premise

`about:preferences` resolves to `chrome://browser/content/preferences/preferences.xhtml`, which itself resolves to `jar:file:///usr/lib64/firefox/browser/omni.ja!/chrome/browser/content/browser/preferences/preferences.xhtml`.

#### Desire

How can I ascertain this in a deterministic manner (that is, without needing to search for it in `chrome://browser/content/preferences/`/`jar:file:///usr/lib64/firefox/browser/omni.ja!/`)?

#### Rationale

I ask because, as of yet, I've been unable to ascertain what `about:crashes` resolves to, despite being quite confident, per [`github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html`][1], that it's `crashes.html`.

[1]: https://github.com/mozilla-firefox/firefox/blob/4b63e8e14125558cd75be1a53b6fc40b48cc2560/toolkit/crashreporter/content/crashes.html#L22

#### Diagnosis

I've confirmed that ECMAScript's `window.location.href` and `document.URL` merely return the `about:` URI.