たいつべ自己べ表示

・。・

Author
つべ222
Daily installs
0
Total installs
11
Ratings
0 0 0
Version
0.1.1
Created
2022-09-27
Updated
2022-09-28
License
MIT
Applies to

「任意でランキング登録」にチェックを入れてください。

Consoleで実行してね↓
//出力



let array = []
for (var i = 0; i < 55000; i++) {
data = localStorage.getItem('https://typing-tube.net/movie/show/'+ i);
if(data !== null){
array.push("https://typing-tube.net/movie/show/" + i + " " + localStorage.getItem('https://typing-tube.net/movie/show/'+ i)+ " ");

}
}

let naka = new Blob(array, {
type: "text/plan"
});
let dd = document.createElement('a');
dd.href = URL.createObjectURL(naka);
dd.download = 'TypingTube.txt';
dd.click();




//入力

//str1 = "ここに出力されたものを貼り付ける"

const str1 = "";
const c1 = str1.split(/\s/);

var lenn = c1.length

for (var i = 0; i < lenn ; i++) {
localStorage.setItem(c1[0], c1[1]);
c1.splice(0,2);
}