Sign in
cobalt
/
cobalt
/
61a8495e1e0485bd40f613004bf29f8a925ab37c
/
.
/
src
/
third_party
/
web_platform_tests
/
html
/
semantics
/
embedded-content
/
media-elements
/
track
/
track-element
/
cors
/
support
/
set-cookie.html
blob: cc1c9263860f0f5c9eb34de4c0dcb597d4b4897d [
file
] [
log
] [
blame
]
<!doctype html>
<title>
Set cookie from location.hash
</title>
<script>
if
(
location
.
hash
)
document
.
cookie
=
decodeURIComponent
(
location
.
hash
.
substr
(
1
))+
'=yes;path=/;max-age=15'
;
</script>