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
[SyncFS] Build indexes from FileTracker entries on disk.
[chromium-blink-merge.git]
/
content
/
test
/
data
/
download
/
download-attribute.html
blob
4fd070db96e3bf8942b6113de2229b9053f32077
1
<!DOCTYPE
html
>
2
<html>
3
<body>
4
<a
download
=
"suggested-filename"
href
=
""
>
link
</a>
5
<script>
6
var
anchorElement
=
document
.
querySelector
(
'a[download]'
);
7
url
=
window
.
location
.
href
;
8
anchorElement
.
href
=
url
.
substr
(
url
.
indexOf
(
'='
) +
1
);
9
anchorElement
.
click
();
10
</script>
11
</body>
12
</html>