Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let vm = document.getElementById("app")._reactRootContainer._internalRoot.current.child.pendingProps.store.getState().scratchGui.vm;
- vm.runtime.canAddCloudVariable = function() {
- return 'true';
- }
- vm.runtime.ioDevices.cloud.provider.clear = function() {
- console.log('Error injecting.');
- }
- vm.runtime.ioDevices.cloud.setProvider = function(arg) {
- if (!arg == null) {
- vm.runtime.ioDevices.cloud.provider = arg;
- }
- }
- vm.runtime.ioDevices.cloud.provider.requestCloseConnection = function() {
- console.log('Project hacked successfully!');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement