On Mon, 08 Aug 2016 19:59:15 +1200, Ralph Fox wrote:
> If you don't have root access, only Firefox can see this location.
> In that case, try using Firefox to save your file to this location.
I didn't know this, so thank you for the wonderful hint!
I pointed Firefox 48.0 to file:/// and then walked down the hierarchy.
There was no /opt, so I went to /data instead.
I got the error:
file:///data and file:///data/
Access to the file was denied.
The file at /data/ is not readable.
The same thing happened at file:///data/data/ & file:///data/data.
But things started working again at file:///data/data/org.mozilla.firefox/.
I saw "Index of file:///data/data/org.mozilla.firefox/"
In "files" there was both a mozilla and a .mozilla so I went to mozilla
where there was a XXXXXXXX.default directory which contained the prefs.js
file.
I copied that location to the clipboard
file:///data/data/org.mozilla.firefox/XXXXXXXX.default/prefs.js
And then I went to the user.js file on the Internet
https://github.com/pyllyukko/user.js
I pressed "Jump to file"
https://github.com/pyllyukko/user.js/find/master?q=
And then I tapped on the "user.js" link
https://github.com/pyllyukko/user.js/blob/master/user.js
This brought up the user.js file but didn't allow me to download it
so I long pressed instead on the "user.js" link which brought up a menu
which had an option for
a. Share Link
b. Open Link in New Tab
c. Open Link in Private Tab
d. Copy Link
e. Bookmark Link
I was hoping to find a "Save As" but there wasn't any option for that.
I was hoping to figure out how to set the "Downloads Dir" but I couldn't do
that either.
I mailed the file to myself, but what good will that do if I can't save it
into /data/data/org.mozilla.firefox/XXXXXXXX.default/user.js
Now that we know _where_ the user.js file is supposed to be stored, how do
we store that file where it belongs?