Discuss how to use and promote Web standards with the Mozilla Gecko engine.
BruceAWittmeier
Posts: 3076 Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967
Post
by BruceAWittmeier » August 25th, 2017, 8:17 am
I created a simple personal page as the tiles page does not work with TMP.
I have discovered these about:about items do not work. I copied them directly out of the about:about page source and still no luck. The others referencing a web page work fine.
Ideas?
Code: Select all
Row 2:<br><br>
<a href=http://forums.mozillazine.org/index.php>Mozillazine</a><br>
<a href=https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/> Mozilla Builds Nightly </a><br>
<a href=https://archive.mozilla.org/pub/firefox/releases/> Mozilla Archieve download page </a><br>
<a href=https://ftp.mozilla.org/pub/firefox/releases/> Mozilla Releases << ftp site </a><br>
<a href="about:buildconfig">about:buildconfig for version information</a><br>
<a href="about:about">about:about</a><br>
<a href="about:about">about:about all about: listing</a><br><br><br>
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.
morat
Posts: 6437 Joined: February 3rd, 2009, 6:29 pm
Post
by morat » August 25th, 2017, 10:41 am
It doesn't work in Firefox for security reasons.
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<a href="about:about">about:about</a>
</body>
</html>
Also,
I read that Firefox and Chrome are going to remove data URLs for security reasons.
Remove content initiated top frame navigations to data URLs
http://developers.google.com/web/update ... _data_urls
http://crbug.com/594215
http://crbug.com/684011
http://bugzilla.mozilla.org/show_bug.cgi?id=1331351
I liked using data URLs in bookmarklets. Now I have to show my results in the current tab instead of a new tab.
Code: Select all
- open("data:text/plain;charset=utf-8;base64," + btoa(data));
+ document.body.innerHTML = "<div>" + data.replace(/\n/g, "<br>") + "</div>";
+ document.body.style = "font-family: consolas; font-size: 20px; margin: 8px;";
I can't think of a workaround.
BruceAWittmeier
Posts: 3076 Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967
Post
by BruceAWittmeier » August 25th, 2017, 12:33 pm
Thank you for trying. I had a different heading in the html than yours but had no effect. Nothing important -- just a convenience for me. I will read your additional links. Thx.
By the way -- anyone notice the "code: select all" buttons do not work. They jump to the start of the page.
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.
morat
Posts: 6437 Joined: February 3rd, 2009, 6:29 pm
Post
by morat » August 25th, 2017, 4:12 pm
BruceAWittmeier
Posts: 3076 Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967
Post
by BruceAWittmeier » August 25th, 2017, 5:06 pm
I can live without that. Easy enough to hilight and capture. But, thank you again.
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.
morat
Posts: 6437 Joined: February 3rd, 2009, 6:29 pm
Post
by morat » August 26th, 2017, 4:56 am
The "chrome://global/content/aboutAbout.xhtml" url is the same as the "about:about" url.
You could create your own .xhtml page with the chrome: protocol instead of your own .html page with the file: protocol.
I changed my home page to the "chrome://userChromeJS/content/example.xhtml" url.
I created the example.xhtml file in the "extensions\
userChromeJS@mozdev.org \content" folder in the profile.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Example</title>
</head>
<body>
<a href="about:about">about:about</a>
</body>
</html>
BruceAWittmeier
Posts: 3076 Joined: June 9th, 2008, 10:53 am
Location: Near 37.501685 -80.147967
Post
by BruceAWittmeier » August 26th, 2017, 5:35 am
Should your new xhtml post make the about:about and about:buildconfig clickable link or are they still blocked by Firefox/Mozilla?
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.
morat
Posts: 6437 Joined: February 3rd, 2009, 6:29 pm
Post
by morat » August 26th, 2017, 6:22 am
The about:about link in the example.xhtml page is clickable.
Note that...
1. chrome://userChromeJS/content/example.xhtml
2. file:///C:/example.xhtml
The 1st url succeeds, but the 2nd url fails because of the security restriction.
userChromeJS is an XUL extension with unpack property in install.rdf file.
Install Manifests - unpack property
http://developer.mozilla.org/en-US/Add- ... sts#unpack
You can use any similar extension. I don't remember if TMP is unpacked or not.