-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (91 loc) · 3.79 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="index.css">
<script type="text/javascript" src="index.js"></script>
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,shrink-to-fit=no">
<title>Mashare</title>
</head>
<body>
<div id="contents">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Mashare トップバナー -->
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:100px"
data-ad-client="ca-pub-7162827353579884"
data-ad-slot="4619197367"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<h1>Mashare β version</h1>
<b>マストドン共有リンク生成サイト</b>
<br>
マストドン1.6.0以降のインスタンスに対応
<hr>
<div id="introduction-area">
<span class="warning">https://masha.re/#文字列</span> で共有できます。
<hr>
<textarea cols=50 rows=10 id="message-text"></textarea>
<br>
<button onclick="generate();">タグを自動生成</button><br>
<br>
<div id="result-preview"></div>
<div id="result-area" style="display: none;">
<input type="text" id="result-url" size="50"><br>
<textarea cols=50 rows=10 id="result-text"></textarea>
</div>
</div>
<div id="share-area">
<div id="share-preview"></div>
<hr>
投稿先のホスト名を入力又は選択してください<br>
<input type="text" id="hostname-text" placeholder="swift.language.jp">
<button onclick="share();" class="share-button">トゥート画面へ</button>
<div id="host-area">
<button onclick="share('mstdn.jp');" class="host-button">mstdn.jp</button>
<button onclick="share('pawoo.net');" class="host-button">Pawoo</button> <button onclick="share('friends.nico');" class="host-button">friends.nico</button>
<button onclick="share('swift.language.jp');" class="host-button">Swiftドン</button>
<button onclick="share('imastodon.net');" class="host-button">im@stodon</button>
<button onclick="share('knzk.me');" class="host-button">神崎丼</button>
</div>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Mashare フッターバナー -->
<ins class="adsbygoogle"
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-7162827353579884"
data-ad-slot="5439478532"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<hr>
<address>(C)2017 <a href="http://kibousoft.co.jp/">Kibousoft LLC.</a>
<a href="http://kibousoft.com/privacy.html">プライバシーポリシー</a>
</address>
<span id="kibousoft-viav6"></span>
<script type="text/javascript">
var xhr = new XMLHttpRequest();
xhr.open('GET', 'https://viav6.kibousoft.co.jp/', true);
xhr.onreadystatechange = function(){
if (xhr.readyState === 4 && xhr.status === 200){
var dom = document.getElementById('kibousoft-viav6');
dom.innerHTML = xhr.responseText;
}
};
xhr.send(null);
</script>
<script type="text/javascript">
initialize();
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-97609147-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-97609147-3');
</script>
</div>
</body>
</html>