Username Bookmarklet

Here's a BookMarklet for setting your UserName cookie. Note: you will need to be viewing a page in your browser when you run it.

javascript:document.cookie="UserName=YourUserNameGoesHere; expires=Tue, 01-Jan-2030 00:00:01 GMT";alert(document.cookie);

Here's a slightly different version (which prompts for the name):

javascript:var uN=prompt("UserName?",""); if ("A"<=uN) {document.cookie="UserName="+uN+"; expires=Tue, 01-Jan-2030 00:00:01 GMT";alert("Updated "+document.cookie);} else {if ("A">uN) alert("Cookie NOT updated"); else alert("Update cancelled");}

MicrosoftInternetExplorer allows the above code to be put in a Favorite; for other browsers, such as MozillaFirefox, you may need to copy the code to the browser location box and press Enter.

Firefox will let you drag it to the toolbar if it's presented as a link, but unfortunately we can't seem to do that in WikiWikiWeb. -- MarkAufflick

If you no longer want a username, you should be able to delete the cookie by using an expiry date in the past.


View edit of November 20, 2014 or FindPage with title or text search