// ==UserScript==
// @name いろはす討滅戦
// @description いろはす討滅戦 キャンペーンコード入力支援ブックマークレット
// @include http://*
// ==/UserScript==
/*
* @title いろはす討滅戦
* @description my bookmarklet
* @include http://*
* @license MIT License
* @author Ryuca
* @javascript_url
*/
(function () {
var div_element = document.createElement("div");
div_element.style="margin-left: 10px;";
div_element.innerHTML = 'シリアルナンバー(コピペ用):
';
var btn = document.createElement("button");
var t = document.createTextNode("(`・ω・´)");
btn.appendChild(t);
btn.onclick = function () {
var in_sn=document.getElementById("in_sn");
var in_code=in_sn.value;
in_code=in_code.split(/\r\n|\r|\n/);
for(var i=0; i