Skip to content

Instantly share code, notes, and snippets.

Created June 14, 2021 22:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
To clear your save data for Too Many Daves:
1. open the javascript console (f12)
2. change the "javascript context" (near the top left of the console) from "top" to "index.html -"
(This is the iframe uses to run the game. We need to change our javascript context so that we have access to its data storage)
3. paste this code into the console and run it; it should say "save data successfully deleted"
4. refresh the page. the game should start you back in the first level
if ("") {
console.error("you need to manually change the javascript context from 'top' to 'index.html'")
} else {"/user_data")
let db=openreq.result
let transaction=db.transaction("FILE_DATA","readwrite")
let req=transaction.objectStore("FILE_DATA").delete(filename_to_delete)
req.onsuccess=()=>console.log("save data successfully deleted")
}; null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment