Firefox default screenshot tool change the title template
-
- Posts: 20
- Joined: August 12th, 2015, 3:12 pm
Firefox default screenshot tool change the title template
Is there a way to change the "Save As" title template for the built-in Firefox screenshot tool, i.e. just as you would for the Nimbus addon, etc.?
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: Firefox default screenshot tool change the title templat
Do you want to change the default filename for a screenshot?
The logic is hardcoded in the shot.js file in the signed screenshots@mozilla.org.xpi extension.
Reference
http://dxr.mozilla.org/mozilla-release/ ... reenshot_$
Nimbus Screen Capture
http://addons.mozilla.org/firefox/addon/448002
The logic is hardcoded in the shot.js file in the signed screenshots@mozilla.org.xpi extension.
Reference
http://dxr.mozilla.org/mozilla-release/ ... reenshot_$
Nimbus Screen Capture
http://addons.mozilla.org/firefox/addon/448002
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: Firefox default screenshot tool change the title templat
^: that code in shot.js looks like the title you get from a full screen screenshot.
I haven't been able to locate the "Screenshot from (date) (time).pgn" filename that I see if I take a screenshot from a selection.
downloadShot -> ui.triggerDownload(dataUrl, shotObject.filename);
https://dxr.mozilla.org/mozilla-release ... shooter.js
I haven't been able to locate the "Screenshot from (date) (time).pgn" filename that I see if I take a screenshot from a selection.
downloadShot -> ui.triggerDownload(dataUrl, shotObject.filename);
https://dxr.mozilla.org/mozilla-release ... shooter.js
-
- Posts: 20
- Joined: August 12th, 2015, 3:12 pm
Re: Firefox default screenshot tool change the title templat
Yeh. {domain}{title}{date}morat wrote:Do you want to change the default filename for a screenshot?
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am