クロームエクステンションをプロトで作成。まだポップアップで固定文字を表示するのみ。
@@ -0,0 +1,28 @@ | ||
1 | +<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> | |
2 | +<html> | |
3 | +<style> | |
4 | +*{ | |
5 | + margin: 0px; | |
6 | + padding: 0px; | |
7 | +} | |
8 | +body > h1{ | |
9 | + width:150px; | |
10 | + text-align:center; | |
11 | + background: -webkit-gradient( | |
12 | + linear, left top, left bottom, from(#000), to(#999) | |
13 | + ); | |
14 | + border-radius:4px; | |
15 | + margin:0px; | |
16 | + padding:1em; | |
17 | + color:white; | |
18 | + text-shadow: 3px 3px 3px black; | |
19 | + line-height:1.4; | |
20 | +} | |
21 | +</style> | |
22 | +<h1>臥薪嘗胆</h1> | |
23 | +<script> | |
24 | +document.querySelector('h1').onclick=function(){ | |
25 | + this.innerText = '臥薪嘗胆'; | |
26 | +} | |
27 | +</script> | |
28 | +</html> | |
\ No newline at end of file |
@@ -0,0 +1,13 @@ | ||
1 | +{ | |
2 | + "name": "GashinSyoutan", | |
3 | + "description": "The expansion to interrupt words to Menu automatically.", | |
4 | + "version": "0.5", | |
5 | + "browser_action": { | |
6 | + "default_icon": "icon.png", | |
7 | + "popup": "popup.html" | |
8 | + }, | |
9 | + "icons" : { | |
10 | + "48" : "icon.png", | |
11 | + "128" : "icon.png" | |
12 | + } | |
13 | +} |