NetNewsWire/iOS/ShareExtension/SafariExt.js
2019-09-08 17:35:38 -05:00

13 lines
354 B
JavaScript

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;