From 997692713e08ea9368c22d40c869465a8c71f784 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Thu, 6 Feb 2014 16:46:18 -0500 Subject: [PATCH] Remove user configuration cookie (hasn't been used in 5 years). This should be reflected in a removal of the CookieConfig item from the localization files. Issue #559. --- unpacked/MathJax.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js index 500dc7113..0795dc8fb 100644 --- a/unpacked/MathJax.js +++ b/unpacked/MathJax.js @@ -2359,21 +2359,6 @@ MathJax.Hub.Startup = { MathJax.Hub.config.menuSettings.locale = this.params.locale; } // - // Check for user cookie configuration - // - var user = MathJax.HTML.Cookie.Get("user"); - if (user.URL || user.Config) { - if (confirm( - MathJax.Localization._("CookieConfig", - "MathJax has found a user-configuration cookie that includes code to "+ - "be run. Do you want to run it?\n\n"+ - "(You should press Cancel unless you set up the cookie yourself.)") - )) { - if (user.URL) {this.queue.Push(["Require",MathJax.Ajax,user.URL])} - if (user.Config) {this.queue.Push(new Function(user.Config))} - } else {MathJax.HTML.Cookie.Set("user",{})} - } - // // Run the config files, if any are given in the parameter list // if (this.params.config) {