I would like to know how to add on code to a userscript that will close the tab or even just stop the script after X amount of time. It is a script that refreshes the page often, so when I tried some other suggestions I found online they did not seem to work. Could someone explain how to do this? Thanks!