Open haruymth opened 1 year ago
うーん
親帰ってくるので8時に見ます
おkです
おkです
fetchの${trend[j].id}が普通に${trend}でいいとか_?
あ〜
(async () => {
try {
let userList = prompt("ユーザーを改行で分けて入力").split("\n");
userList.forEach(function (value, index) {
userList[index] = value.trim();
})
let username = [];
let count = 0;
let password = prompt("パスワードは?(全員)");
let category = "13";
let projectId = location.href.replace(/[^0-9]/g, "");
for (let i = count; i < userList.length; i++) {
function getCookieArray() {
var arr = new Array();
if (document.cookie != '') {
var tmp = document.cookie.split('; ');
for (var i = 0; i < tmp.length; i++) {
var data = tmp[i].split('=');
arr[data[0]] = decodeURIComponent(data[1]);
}
}
var memo = arr;
var token = memo['scratchcsrftoken'];
return token
}
function printStatus(status,success,faild){
if (status == 200) {
console.log(`${userList[i]}${success}${i + 1}人目`);
} else {
console.error(`${userList[i]}${faild}${i + 1}人目 ステータスコード:${status}`);
}
}
let token = getCookieArray();
await fetch("https://scratch.mit.edu/accounts/logout/", { method: "POST", "headers": { "x-csrftoken": token } });
let a = await fetch("https://scratch.mit.edu/accounts/login/", {
method: "POST",
body: JSON.stringify({
"username": userList[i],
"password": password,
"useMessages": false
}),
"headers": {
"x-csrftoken": token,
"x-requested-with": "XMLHttpRequest"
}
});
let trend=[prompt("❤と⭐をつけたいprojectIDを入力")];
for(let j=0;j<1;j++){
let xtoken = (await (await fetch("/session/", { headers: { "X-Requested-With": "XMLHttpRequest" } })).json()).user.token;
token = getCookieArray();
let love=await fetch(`https://api.scratch.mit.edu/proxy/projects/${trend[j]}/loves/user/${userList[i]}`,{
method:"POST",
headers:{
"x-csrftoken":getCookieArray(),
"x-token":xtoken,
"x-requested-with": "XMLHttpRequest"
},
credentials:"include"
});
printStatus(love.status,"で"+`${trend[j]}`+"のプロジェクトに♡をつけたよ","で"+`${trend[j]}`+"のプロジェクトに♡をつけれなかったよ");
let favorite=await fetch(`https://api.scratch.mit.edu/proxy/projects/${trend[j]}/favorites/user/${userList[i]}`,{
method:"POST",
headers:{
"x-csrftoken":getCookieArray(),
"x-token":xtoken,
"x-requested-with": "XMLHttpRequest"
},
credentials:"include"
});
printStatus(favorite.status,"で"+`${trend[j]}`+"のプロジェクトに☆をつけたよ","で"+`${trend[j]}`+"のプロジェクトに☆をつけれなかったよ");
}
}
var sound = new Audio('https://soundeffect-lab.info/sound/anime/mp3/shakin1.mp3');
sound.play();
console.log("全員分変え終わったぞ")
} catch (e) {
console.error(e);
}
})();
こうかなぁ
dekita-------------
listpの.envにコピペしてほしいです
もし
できたらpassなしでusernameのみのもほしいです(一覧)
え何をコピーしたらいいんですかね
え何をコピーしたらいいんですかね
g〇〇〇chのlistpageの.envのユーザーリストです。(.env内容全部)
あー
コピーしました!
コピーしました!
ありがとうございます!
フッターガシタニイカナイ....................
javascript:(function () {var a = document.createElement('script');a.src ='https://cdn.jsdelivr.net/gh/FogNetwork/Vapor/vapor.min.js';document.body.appendChild(a);}()) こうですね
なんかフッター一番下に来るようにできました
javascript:(function () {var a = document.createElement('script');a.src ='[https://cdn.jsdelivr.net/gh/FogNetwork/Vapor/vapor.min.js';document.body.appendChild(a);}()](https://cdn.jsdelivr.net/gh/FogNetwork/Vapor/vapor.min.js';document.body.appendChild(a);%7D())) こうですね
??
なんかフッター一番下に来るようにできました
どうやりましたか?(できたらscripts,mutual,warなどでも下に行くようにしてほしいです。)
下にscriptsとかも下に行ってないですか?
下にscriptsとかも下に行ってないですか?
ptbnth.github.io/scriptsやmutual.htmlやwar.htmlは行ってないです
ちょっとまってくださいね
たぶんこれでいけるはずです
たぶんこれでいけるはずです
バグり散らかしてますw(見てもらったほうがはやい)
やば()
やば()
まだ直ってないです(ヘッダーが下にあって、war.htmlとかだとfooterが下に行っていないです)
ano.......[[warのstyleが消えてる
はるさんへ
一番下の文字とfooterの間が大きいの直せませんか?(マージンいじっても無理だった)
ano.......[[warのstyleが消えてる
warのstyleとグローバルのスタイルをいちいち同期させるのがめんどいと思ったんで一本化しました
form使ってフィルタ解除するやつできなくなりました?
form使ってフィルタ解除するやつできなくなりました?
できます
まじですか
formsのブロックされました
=Discord使えなくなった
chatwork.comでチャットできませんか(今後)
まじすか...
ちなみに学校のフィルタってなんですか?
Ciscoです
ciscoはしらないですね...
またあのwidgetでやりますか?
あ〜お願いします
おkです
というか
あのchat serverどうするんですか?
スマホ使えるときに勧めたりします。
おkです。
次使えるようになったらとりあえず所有権くれますか?()
リア友の垢はだめって言うのはここに書きます(メアド+'はだめです'ってやります) あ、所有権ですか?
おkです
所有権です
ここで話し合いができます