-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (31 loc) · 977 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<!--
These codes are licensed under CC0.
http://creativecommons.org/publicdomain/zero/1.0
-->
<meta charset="UTF-8">
<script src="./onp-agent.js"></script>
<script>
window.addEventListener( 'DOMContentLoaded', ( ) => {
let target = document.querySelector( '#onp_products' )
const products = [
[ 'あかね改', 'ねぇさとるくん' ],
[ 'openメモリアル', '滅亡のバレンタイン' ],
[ '女の子に告白', '女の子に告白2' ],
]
products.forEach( ary => {
ary.forEach( name => {
let link = document.createElement( 'a' )
link.href = `旧作品/${ name }`
link.className = 'onp'
link.textContent = name
target.appendChild( link )
target.appendChild( new Text( ' ' ) )
} )
target.appendChild( document.createElement( 'br' ) )
} )
} )
</script>
<br><div id=onp_products style="font-size: 2rem">
【クリックで作品インストール】<br>
</div>