Rough out the new share extension for iOS

This commit is contained in:
Maurice Parker
2019-09-08 17:35:38 -05:00
parent 1718810701
commit 7a1da9a01e
7 changed files with 541 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
var SafariExtPreprocessorClass = function() {};
SafariExtPreprocessorClass.prototype = {
run: function(arguments) {
arguments.completionFunction({ "url": document.URL });
}
};
// The JavaScript file must contain a global object named "ExtensionPreprocessingJS".
var ExtensionPreprocessingJS = new SafariExtPreprocessorClass;