Talk:JavaScript Cookbook

'Disabling wiki-wide scripts' implementation
Regarding this revert, I don't think worrying about browsers not supporting is a concern. If people are still using IE 7, Firefox 3, Chrome 4, or older, they'll likely be having greater issues than not being able to disable a wiki-wide script!

Also, the main reason for my edit (other than simpler code) is that using  directly will throw in a number of situations (e.g. Safari in private browsing mode, Chromium/Firefox with stricter-than-default privacy preferences). Using ensures that localStorage is safe to use before using it. - OneTwoThreeFall (talk) 05:35, October 10, 2016 (UTC)