1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 09:13:15 +00:00

Added and configured iOS Extension project with ExtensionPreprocessingJS for webpage analysis.

This commit is contained in:
Kyle Spearrin
2016-05-07 01:54:44 -04:00
parent d4b56e0e16
commit 1664c3fbf0
12 changed files with 480 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
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;