Skip to content

Instantly share code, notes, and snippets.

@digi0ps
Last active May 29, 2024 06:20
Show Gist options
  • Save digi0ps/763a345a307af8d7ae4ee17b778b0ef6 to your computer and use it in GitHub Desktop.
Save digi0ps/763a345a307af8d7ae4ee17b778b0ef6 to your computer and use it in GitHub Desktop.
Hack for skillrack copy paste
/*
-----------------------------
Paste into skillrack shortcut.
-----------------------------
Open console in your browser by pressing Ctrl+Shift+J in Chrome Windows.
Or right click the webpage, select inspect element and then change to console tab.
Paste the code you want into the quotes given in variable CODE and then paste the entire thing into
the console. And then press enter.
BUGS rn:
- Long line causes a major code shitbreak, so try to avoid those.
- Too hectic to copy paste into console everything ( solution: make an extension )
*/
var CODE = `
Paste your code inside here without removing these quotes
`;
(function(){
var editor_id = $(".ace_editor.ace_dark")[0].id;
var editor = ace.edit(editor_id);
editor.$blockScrolling = Infinity;
X = CODE.split(" ");
editor.setValue("");
for(var i=0;i<X.length;i++){
editor.insert(X[i]+" ");
var row = editor.session.getLength() - 1;
var column = editor.session.getLine(row).length;
editor.gotoLine(row + 1, column);
}
})();
@Dhayanidhi1
Copy link

nov correct ta sollu na

@Pablo-kun
Copy link

Pablo-kun commented Oct 29, 2023

Don't do this guys, you will get banned for this. I got banned for using this method.

@kedarlin
Copy link

banned ah !??

@mohammedifran13
Copy link

practice by your own

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment