Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 15 additions & 75 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,84 +1,24 @@
<head>
<body background="https://abizarart.files.wordpress.com/2018/06/fennik3.jpg?w=236&h=421&zoom=2">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LIFF Starter</title>
<title>™PEKOK BOTS©</title>
<link rel="stylesheet" href="style.css">
</head>

<body>
<div class="buttongroup">
<div class="buttonrow">
<button id="openwindowbutton">Open Window</button>
<button id="closewindowbutton">Close Window</button>
</div>
<div class="buttonrow">
<button id="getaccesstoken">Get Access Token</button>
<button id="getprofilebutton">Get Profile</button>
<button id="sendmessagebutton">Send Message</button>
</div>
</div>

<div id="accesstokendata">
<h2>Access Token</h2>
<a href="#" onclick="toggleAccessToken()">Close Access Token</a>
<table border="1">
<tr>
<th>accessToken</th>
<td id="accesstokenfield"></td>
</tr>
</table>
</div>

<div id="profileinfo">
<h2>Profile</h2>
<a href="#" onclick="toggleProfileData()">Close Profile</a>
<div id="profilepicturediv">
</div>
<table border="1">
<tr>
<th>userId</th>
<td id="useridprofilefield"></td>
</tr>
<tr>
<th>displayName</th>
<td id="displaynamefield"></td>
</tr>
<tr>
<th>statusMessage</th>
<td id="statusmessagefield"></td>
</tr>
</table>
</div>

<div id="liffdata">
<h2>LIFF Data</h2>
<table border="1">
<tr>
<th>language</th>
<td id="languagefield"></td>
</tr>
<tr>
<th>context.viewType</th>
<td id="viewtypefield"></td>
</tr>
<tr>
<th>context.userId</th>
<td id="useridfield"></td>
</tr>
<tr>
<th>context.utouId</th>
<td id="utouidfield"></td>
</tr>
<tr>
<th>context.roomId</th>
<td id="roomidfield"></td>
</tr>
<tr>
<th>context.groupId</th>
<td id="groupidfield"></td>
</tr>
</table>
</div>

<center>
<div class="flex">
<a href="line://ti/p/~vekok2" class="bttn">Welcome To Liff ®Pekok Bots™</a>
</div></center>
<center>
<h2><button class="button button1" id="textx">Text</button></h2>
<h2><button class="button button2" id="imagex">Image</button></h2>
<h2><button class="button button3" id="videox">Video</button></h2>
<h2><button class="button button4" id="audiox">Audio</button></h2>
<h2><button class="button button5" id="stickerx">Big Sticker</button></h2></center>
<center>
<marquee title="Created By PekokBots" behavior="alternate" onmouseover="this.stop()" onmouseout="this.start()" direction="right"><a href="line://ti/p/~vekok2" target="_blank"><h3>Created By ©PEKOK BOTS™</h3></a></marquee>
</center>
<script src="https://d.line-scdn.net/liff/1.0/sdk.js"></script>
<script src="liff-starter.js"></script>
</body>
Loading