| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* firefox/jp-hash.js (jp_hash_edit): Use execCommand
to issue insertText actions to edit the object,
rather than doing it directly, so that undo integrity
is preserved.
|
|
|
|
|
|
| |
* firefox/jp-hash.js (jp_hash_edit): After replacing
the content of the text object, select that portion of
it which replaced the prior selection.
|
|
|
|
|
|
|
| |
* firefox/jp-hash.js (jp_hash_edit): If there is
no selection, the whole input box is replaced
with its hash. Oterwise, only the selection is
replaced.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* firefox/jp-hash.js (jp_hash): Renamed to async function
jp_hash_complete which receives digest as an argument.
(jp_hash_start): New async function: initiates SHA256
async operation, returning promise.
(jp_hash_sha256): Andrea Griffini's portable synchronous
implementation removed.
(jphash): New async function: stages the two steps
of the hash, and then invokes the continuation.
(jp_hash_edit): Switch to async. Assignment of new
value is done in continuation.
|
|
Puts a button on the toolbar which will replace the contents
of the current input box with its JP-Hash.
The Alt-J hot key sequence does the same.
* firefox/background.js,
* firefox/jp-hash.js: New files.
* firefox/jp-hash-32.png,
* firefox/jp-hash-48.png,
* firefox/jp-hash-96.png: Likewise.
* firefox/manifest.json: Likewise.
|