13 lines
354 B
JavaScript
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;
|