What this script does
Download a readable backup of this site’s local tool records. The helper refuses to run on unrelated domains and makes no network request.
- Best for
- Back up locally saved calculator, timer, route, and My Run data before clearing browser storage.
- Language
- JavaScript
- Version
- 1.0.0
- Validation
- JavaScript syntax checked
The file passes Node.js syntax parsing. Its download behavior still depends on browser permissions and StealAnEgg.app local data.
Included behavior
- Exports only keys beginning with stealanegg
- Runs only on this site or a local preview
- Creates one local JSON download
- No uploads, fetch calls, cookies, or Roblox access
Install in the stated runtime
- 1Open stealanegg.app in a desktop browser.
- 2Open Developer Tools, review the complete source, and paste it into the Console only if you understand it.
- 3Run it once; your browser downloads a dated JSON backup locally.
Minimal usage example
// The helper is self-running. Review the full source, then run it once
// while the active page is https://stealanegg.app/.
// A local JSON backup will download automatically.Example inputs and result
- Supply
- No arguments; run the reviewed file on StealAnEgg.app in your own browser.
- Expect
- Downloads a local JSON backup of supported browser data without sending it to a server.
These notes explain the example above. Read the complete source for every exported function and edge case before integrating it.
Complete source
No hidden import, minified block, or shortened loader.
// MIT License. Run only on stealanegg.app to export this site's local tool data.
// No network requests are made and no Roblox data is accessed.
(() => {
const hostname = window.location.hostname.toLowerCase();
const allowed = hostname === 'stealanegg.app'
|| hostname.endsWith('.stealanegg.app')
|| hostname === 'localhost'
|| hostname.endsWith('.localhost');
if (!allowed) throw new Error('Open stealanegg.app before running this helper.');
const records = {};
for (let index = 0; index < localStorage.length; index += 1) {
const key = localStorage.key(index);
if (key?.startsWith('stealanegg')) records[key] = localStorage.getItem(key);
}
const payload = {
schemaVersion: 1,
exportedAt: new Date().toISOString(),
origin: window.location.origin,
records
};
const blob = new Blob([JSON.stringify(payload, null, 2)], { type: 'application/json' });
const url = URL.createObjectURL(blob);
const link = document.createElement('a');
link.href = url;
link.download = `stealanegg-local-data-${new Date().toISOString().slice(0, 10)}.json`;
link.click();
URL.revokeObjectURL(url);
console.info(`Exported ${Object.keys(records).length} StealAnEgg.app local-storage records.`);
})();
a885457119c310ab356edb08b040334327dfd60013bcd0bed1eada82a63fd948Outside this script’s scope
- Export Roblox account or game data
- Read unrelated local-storage keys
- Upload the backup or send analytics
Found a problem or a better approach?
Tell us what failed, what you expected, and whether the issue happened in the Luau CLI or Roblox Studio. Suggestions for clearer types, safer server checks, or a more useful API are welcome.