Created
September 12, 2024 01:40
-
-
Save ManUtopiK/ced64ce4a7a646438f1fd080319549ca to your computer and use it in GitHub Desktop.
test remote script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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