|
関連する Microsoft 文書
Internet Explorer で、ドメインあたりの Cookie の数の制限が 20 から 50 に増加する
|
pal_text2
普段の色
pipa.jp/
1600
3064488832
30123058
1042727632
30049633
*
pal_value2
ffffff,000000,c0c0c0,ff3b21,ffbd16,f5f30f,cc9968,606060,fa80f9,8e0000,ffcc99,877d30,008f47,b7f4ff,c02e97,3f037e
pipa.jp/
1600
3064488832
30123058
1043037632
30049633
*
| |
|
|
|
|
var x = getCookie("p_position_x");
var y = getCookie("p_position_y");
if ( x != null ) {
parent.document.getElementById("ti").style.left=x;
parent.document.getElementById("ti").style.top=y;
}
function saveData() {
var target,i,obj;
if (userAgent.indexOf("firefox") > -1) {
target = document.getElementById("target");
for( i = 0; i < 16; i++ ) {
obj = target.getElementsByTagName("OPTION")[i];
setCookie(
"pal_text"+(i+1),
encodeURIComponent(obj.text),31536000
);
setCookie(
"pal_value"+(i+1),
obj.value,31536000
);
}
}
else {
target = document.getElementById("target");
if ( target.options.length != 0 ) {
for( i = 0; i < 17; i++ ) {
setCookie(
"pal_text"+(i+1),
target.options[i].text,31536000
);
setCookie(
"pal_value"+(i+1),
target.options[i].value,31536000
);
}
}
}
}
function loadData() {
var target,i,work;
if (userAgent.indexOf("firefox") > -1) {
target = document.getElementById("target");
for( i = 0; i < 16; i++ ) {
work = document.createElement("OPTION")
target.appendChild( work )
work.appendChild(
document.createTextNode(
decodeURIComponent(
getCookie("pal_text"+(i+1))
)
)
);
work.value = getCookie("pal_value"+(i+1));
}
}
else {
target = document.getElementById("target");
for( i = 0; i < 17; i++ ) {
work = document.createElement("OPTION")
target.options.add( work )
target.options[i].text = getCookie("pal_text"+(i+1));
target.options[i].value = getCookie("pal_value"+(i+1));
}
}
}
| |
|
|
補足 : Firefox での個別クッキーのメンテナンス |
|