repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
session_restore
/
cookies.html
blob
65562350dc66e1f6ca7689c26549281135979591
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
<script
src
=
"common.js"
></script>
5
<script>
6
function
readData
() {
7
return
document
.
cookie
;
8
}
9
function
writeData
() {
10
var
exdate
=
new
Date
();
11
exdate
.
setDate
(
exdate
.
getDate
() +
2
);
12
document
.
cookie
=
13
'permanentkey=permanentvalue;expires='
+
exdate
.
toUTCString
();
14
return true
;
15
}
16
</script>
17
</head>
18
<body
onload
=
"setTimeout(onLoad, 0);"
>
19
</body>
20
</html>