comparison cs/index.html @ 88:583400dc28a0

myrss: update user-agent string to "Mozilla/5.0 Browser" after some servers complain about "Mozilla/5.0"; show exception type in top-level exception handler log message
author paulo
date Thu, 12 Jan 2017 00:59:05 -0700
parents f833a888c548
children 4d3f845c4ef2
comparison
equal deleted inserted replaced
0:15f6a50d6a69 1:47aea919de21
32 32
33 var unset = document.createElement("input"); 33 var unset = document.createElement("input");
34 unset.type = "button"; 34 unset.type = "button";
35 unset.value = "Unset"; 35 unset.value = "Unset";
36 unset.onclick = function() { 36 unset.onclick = function() {
37 docCookies.removeItem(k); 37 docCookies.removeItem(k, "/");
38 setCookiesDiv.removeChild(d); 38 setCookiesDiv.removeChild(d);
39 }; 39 };
40 40
41 d.appendChild(kInput); 41 d.appendChild(kInput);
42 d.appendChild(vInput); 42 d.appendChild(vInput);
61 } 61 }
62 } 62 }
63 } 63 }
64 64
65 function set() { 65 function set() {
66 docCookies.setItem(setK.value, setV.value, 600); 66 docCookies.setItem(setK.value, setV.value, 600, "/");
67 setK.value = ""; 67 setK.value = "";
68 setV.value = ""; 68 setV.value = "";
69 load(); 69 load();
70 } 70 }
71 71