Scratchの裏技集
自分をフォローする方法①
自分をフォローする方法②
F12キーを押し、デベロッピングツールに行く。
コンソールを押し、$.ajax({type:"PUT",url:"/site-api/users/followers/ユーザー名/add/"});location.reload()を入力する
コンソールを押し、$.ajax({type:"PUT",url:"/site-api/users/followers/ユーザー名/add/"});location.reload()を入力する
空白コメントを打とう
TurboWarpに飛ぼう
Projectを開いた状態で
javascript:window.location.href = open(`https://turbowarp.org/${window.location.href.substring( 33)}`);void(0);
このコードを実行するとTurboWarp飛べる。
設定者:Ptbnth
javascript:window.location.href = open(`https://turbowarp.org/${window.location.href.substring( 33)}`);void(0);
このコードを実行するとTurboWarp飛べる。
設定者:Ptbnth
リダイレクトしよう
Scratchで
javascript:let user = prompt("リダイレクト先のユーザー名を入力");window.location.href = `https://scratch.mit.edu/users/${user}/`;void(0);
を実行して飛びたいユーザー名を入力するとそのユーザーのプロフィールに移動できる。
設定者:Ptbnth
javascript:let user = prompt("リダイレクト先のユーザー名を入力");window.location.href = `https://scratch.mit.edu/users/${user}/`;void(0);
を実行して飛びたいユーザー名を入力するとそのユーザーのプロフィールに移動できる。
設定者:Ptbnth
通知数チェック
Scratchで
javascript:let username%3Dprompt("通知数を知りたいユーザー名を入力")%3Basync function insaneGuy()%7Bconst a%3Dawait fetch(%60https%3A%2F%2Fapi.scratch.mit.edu%2Fusers%2F%24%7Busername%7D%2Fmessages%2Fcount%60)%3Bconst b%3Dawait a.json()%3Balert(b%5B"count"%5D)%3B%7DinsaneGuy()%3Bvoid(0);
これを実行して通知数を知りたいユーザー名を入力するとalertで表示される。
設定者:Ptbnth
javascript:let username%3Dprompt("通知数を知りたいユーザー名を入力")%3Basync function insaneGuy()%7Bconst a%3Dawait fetch(%60https%3A%2F%2Fapi.scratch.mit.edu%2Fusers%2F%24%7Busername%7D%2Fmessages%2Fcount%60)%3Bconst b%3Dawait a.json()%3Balert(b%5B"count"%5D)%3B%7DinsaneGuy()%3Bvoid(0);
これを実行して通知数を知りたいユーザー名を入力するとalertで表示される。
設定者:Ptbnth
コメントを偽装しよう
どのサイトでもいいけど
javascript:document.body.contentEditable='true';document.designMode='on';void 0
を実行するとdevtoolのように文字が変更できる
設定者:Ptbnth
javascript:document.body.contentEditable='true';document.designMode='on';void 0
を実行するとdevtoolのように文字が変更できる
設定者:Ptbnth
サムネイルを設定しよう
設定したい自分のProjectで
javascript:x=document.createElement("script");x.src="//is.gd/thumb2"; void document.getElementsByTagName("head")[0].appendChild(x);
を実行してサムネイルを設定する。
設定者:Ptbnth
javascript:x=document.createElement("script");x.src="//is.gd/thumb2"; void document.getElementsByTagName("head")[0].appendChild(x);
を実行してサムネイルを設定する。
設定者:Ptbnth