Open haruymth opened 1 year ago
よかったです
あとglitch来てくださi((n回目
はるさんへ
https://patiban0.glitch.me って抜けちゃいました?(なぜかコードが残ってる)
はるさんへ
あ、コードは消えてる…index.htmlで適当に
おkです
はるさんへ
あ、コードは消えてる…index.htmlで適当に
Hello
とか入れといてもらえませんか?(多分それに変わってくれる)
え?どういうことですか?
え?どういうことですか?
https://patiban0.glitch.me が残ってるんです。((glitchのコードは消えているけど一気に消したからか、サイトにscript配布とかホームとか見れるようになっている)) なのでh1タグとかでなんか文字入れてもらえたら切り替わると思うんです
なるほど
やっときました
やっときました
ありがとうございます!!((変更されてました
なんかツール色々提供したのが良かったみたい
なんかツール色々提供したのが良かったみたい
すげぇ toolsのviewmessagesってなんですか?
あ、それは作成中のやつです 最近手が止まってます()
haruymth
yukkuさんのcopylink(コメントID表示)のやつを鎖マークタップでコピーできるようにできませんか?(ScratchAddonの機能みたいに)
haruymth
yukkuさんのcopylink(コメントID表示)のやつを鎖マークタップでコピーできるようにできませんか?(ScratchAddonの機能みたいに)
一応できますよ
一応できますよ
時間あるときにお願いしてもいいですか?(今の状態だと鎖をタップすると一時的にコメントが2つに増えるバグがあります)
一応できますよ
時間あるときにお願いしてもいいですか?(今の状態だと鎖をタップすると一時的にコメントが2つに増えるバグがあります)
一応できました
ありがとうございます!((シャワー入ってきます
okdesu
okdesu
リンクがタップできるようにはなったんですけどcopyはできなかったです。()
まじすか?
一応できますよ
時間あるときにお願いしてもいいですか?(今の状態だと鎖をタップすると一時的にコメントが2つに増えるバグがあります)
一応できました
コードほしいです
あ、(リンクタップでコピーできてた)
haruymth
はるさんのサイトの相互リンクのリンクをgithubのサイトに変更してほしいです。
あ〜なるほどおkです
あとなんで僕のメッセージ削除してるんですか あ、コード書いてあったからか
はい
Haruymth
listpage(hack-list)のhistory2.jsは履歴増加するコードなんですけど、履歴に追加されるタブのiconを変更することは可能ですか?(履歴には実行したサイトのタブが表示される)
履歴ってchromeの履歴ですか?
履歴ってchromeの履歴ですか?
はい。
Haruymth
listpage(hack-list)のhistory2.jsは履歴増加するコードなんですけど、履歴に追加されるタブのiconを変更することは可能ですか?(履歴には実行したサイトのタブが表示される)
無理ですね多分
Haruymth
listpage(hack-list)のhistory2.jsは履歴増加するコードなんですけど、履歴に追加されるタブのiconを変更することは可能ですか?(履歴には実行したサイトのタブが表示される)
無理ですね多分
ぎぇ、((履歴に最後に追加されるタブは変更できたんですよね…(履歴数回whileとかと〇++で繰り返すことでできたりしませんか)
ちょっと見てみますね あと傾向のりました
え、どういうことですか?
ちょっと見てみますね あと傾向のりました
すご^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
header固定できませんか?(固定したらbackground-colorだけ消えた)
そんなことあります?()
そんなことあります?()
悲しいことに、ありましたね。()
()
はるさんへ
ここのハンバーガーメニューを開く三本線が右によってるんですけどどうしたら治りますか?
別にそれでも全然悪くないとは僕は思いますよ。 直したいならmarginとかをいじればいけるとおもいますよ
htmlにscriptタグで2つのjsファイルを指定したいんですけど、それってできませんか?(include.jsとmain.jsを召喚したら片方しか使われなかった)
2つも普通にタグ2つで召喚されるはずです
2つも普通にタグ2つで召喚されるはずです
https://ptbnth.github.io/war/ で、main.jsとinclude.jsを召喚するとinclude.jsの効果が消えます…
warのpass入力欄&OKボタンの位置を下に下げることってできませんか?(&footer下に表示)
おそらくこれでその機能を残したやつにできたと思います
ありがとうございます!(コメント消します)
haruymth
TypeError: Failed to fetch
と出てきました
まじすか
そのコードみせてください()
(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].id}/loves/user/${userList[i]}`,{
method:"POST",
headers:{
"x-csrftoken":getCookieArray(),
"x-token":xtoken,
"x-requested-with": "XMLHttpRequest"
},
credentials:"include"
});
printStatus(love.status,"で"+`${trend}`+"のプロジェクトに♡をつけたよ","で"+`${trend}`+"のプロジェクトに♡をつけれなかったよ");
let favorite=await fetch(`https://api.scratch.mit.edu/proxy/projects/${trend[j].id}/favorites/user/${userList[i]}`,{
method:"POST",
headers:{
"x-csrftoken":getCookieArray(),
"x-token":xtoken,
"x-requested-with": "XMLHttpRequest"
},
credentials:"include"
});
printStatus(favorite.status,"で"+`${trend}`+"のプロジェクトに☆をつけたよ","で"+`${trend}`+"のプロジェクトに☆をつけれなかったよ");
}
}
var sound = new Audio('https://soundeffect-lab.info/sound/anime/mp3/shakin1.mp3');
sound.play();
console.log("全員分変え終わったぞ")
} catch (e) {
console.error(e);
}
})();
window.addEventListener('error', (event) => {
console.log(event.path)
});
ここで話し合いができます