Manually set a cookie in Internet Explorer 11
Published on
Last modified on
To manually set a cookie in Internet Explorer 11 (IE 11), there are two options:
- using the address bar; or
- using the JavaScript console.
Using the address bar
To set a cookie via the address bar, type the following into the address bar:
javascript:document.cookie="<name>=<value>";void(0);
Where <name>
is the cookie name and <value>
is the cookie value.
Using the JavaScript console
Alternatively, to set the cookie using the JavaScript console, open the developer tools, type the following and execute it:
document.cookie="<name>=<value>"