This bookmarklet makes it where other people (like teachers) can't close your tabs.