Home | Legacy Firefox Extensions | Content Policy | Contact

Save Back to File from DOM


Save back a file URI scheme document, but save from DOM, which means it would save changes effected by JavaScript.

Made to allow Gecko (notably in Firefox) to be a JavaScript engine helper application, helping out other (source) editors that cannot run JavaScript themselves.

Provides an icon in the Add-on Bar. Can be hidden to reduce unintended saves.
Provides an item in the context menu only if file URI scheme.
Provides an option to limit operation to URIs matching a regular expression, to avoid unintended saves.
Provides info in Error Console, if you care to look there.

A couple nice SVG example files to try out with linked from http://srguiwiz.github.com/save-back-xpi/save-back-examples.html

Designed specifically for use with https://github.com/srguiwiz/adj-js
as illustrated http://srguiwiz.github.com/adj-js/user-docs/#example-workflow

Recently seen working for page text edited in Firefox via contenteditable="true".

Since Firefox 57 replaced with newer https://addons.mozilla.org/en-US/firefox/addon/download-serialized-dom/

Download files:


This page is part of the LegacyCollector website.
Disclaimer: All material on this site is property of their respective owners and available under
open licenses to the best of our knowledge. If you are an author and would like anything removed,
then please write an e-mail to legacy [at] collector dot org.