This commit is contained in:
cajun 2026-03-17 22:57:47 -05:00
parent 1f12a7c5de
commit 5d13630db7
2 changed files with 43 additions and 0 deletions

41
eepy.html Normal file
View File

@ -0,0 +1,41 @@
<html>
<head>
</head>
<body>
<div>
localStorage limit in your Browser is
<span id="size">...</span> KBs.
</div>
<script>
//this script is to find the size of localStorage
function func1(num)
{
return new Array((num * 1024) + 1).join('a')
}
// Determine the size of localStorage if it's not set
if (!localStorage.getItem('size')) {
var i = 0;
try {
// Test up to 10 MB
for (i = 0; i <= 10000; i += 250) {
localStorage.setItem('test', func1(i));
}
} catch (e) {
localStorage.removeItem('test');
localStorage.setItem('size', i ? i - 250 : 0);
}
}
// when window is loaded this function is
// called and the size of localStorage is calculated
window.onload = function calculate(){
var el = document.getElementById('size');
el.innerHTML = localStorage.getItem('size');
}
</script>
</body>
</html>

View File

@ -2651,6 +2651,8 @@ var arrays = {
"PIKACHU",
"RAICHU",
"RAICHU_1",
"RAICHU_2",
"RAICHU_3",
"PIKACHU_70",
"PLUSLE",
"MINUN",