You've already forked hotpocket
BTHLABS-58: Share Extension in Apple Apps
This commit is contained in:
20
services/apple/iOS (Share Extension)/ShareExtensionHelper.js
Normal file
20
services/apple/iOS (Share Extension)/ShareExtensionHelper.js
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// ShareExtensionHelper.js
|
||||
// HotPocket
|
||||
//
|
||||
// Created by Tomek Wójcik on 26/09/2025.
|
||||
//
|
||||
var ShareExtensionHelper = function() {
|
||||
// OMG I CAN'T BELIEVE I HAVE TO EMBED JS IN THE SHARE EXTENSION :D
|
||||
};
|
||||
|
||||
ShareExtensionHelper.prototype = {
|
||||
run: function(arguments) {
|
||||
arguments.completionFunction({
|
||||
'iHateComputers': true,
|
||||
'url': document.location.href,
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
var ExtensionPreprocessingJS = new ShareExtensionHelper();
|
||||
Reference in New Issue
Block a user