mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
17 lines
403 B
JavaScript
17 lines
403 B
JavaScript
|
var BitwardenExtension = function () { };
|
|||
|
|
|||
|
BitwardenExtension.prototype = {
|
|||
|
run: function (arguments) {
|
|||
|
var args = {
|
|||
|
content: document.body.innerHTML,
|
|||
|
uri: document.baseURI
|
|||
|
};
|
|||
|
arguments.completionFunction(args);
|
|||
|
},
|
|||
|
finalize: function (arguments) {
|
|||
|
alert('finalize');
|
|||
|
}
|
|||
|
};
|
|||
|
|
|||
|
var ExtensionPreprocessingJS = new BitwardenExtension;
|