Skip to content

Instantly share code, notes, and snippets.

@ManUtopiK
Created September 12, 2024 01:40
Show Gist options
  • Save ManUtopiK/ced64ce4a7a646438f1fd080319549ca to your computer and use it in GitHub Desktop.
Save ManUtopiK/ced64ce4a7a646438f1fd080319549ca to your computer and use it in GitHub Desktop.
test remote script
// remoteScript.js
(function() {
// Define a global function
window.remoteFunction = function() {
console.log('Remote function called!');
// You can add more functionality here
};
// Optionally, you can define more functions or objects
window.anotherRemoteFunction = function(message) {
console.log('Another remote function called with message:', message);
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment