Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
Untitled Diff
作成日
5 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
4 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
54 行
すべてコピー
4 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
54 行
すべてコピー
function displayTrollGirlsShards() {
function displayTrollGirlsShards() {
if(($('.girls_reward').attr('data-rewards') != undefined) && (CurrentPage.indexOf('battle') != -1)) {
if(($('.girls_reward').attr('data-rewards') != undefined) && (CurrentPage.indexOf('battle') != -1)) {
let girlsData = JSON.parse($('.girls_reward').attr('data-rewards'));
let girlsData = JSON.parse($('.girls_reward').attr('data-rewards'));
for (let j=0; j < girlsData.length; j++) {
for (let j=0; j < girlsData.length; j++) {
let girlId = girlsData[j].id_girl;
let girlId = girlsData[j].id_girl;
let shards = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).shards : 0;
let shards = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).shards : 0;
let name = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).name : '';
let name = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).name : '';
$('.slot_girl_shards:nth-child(' + (j+1) + ') .girl_ico').append('<div class="shards" shards="' + shards + '" name="' + name + '">'
$('.slot_girl_shards:nth-child(' + (j+1) + ') .girl_ico').append('<div class="shards" shards="' + shards + '" name="' + name + '">'
+ '<span class="shard"></span>'
+ '<span class="shard"></span>'
+ '<p id="shard_number">'
+ '<p id="shard_number">'
+ '<span>' + shards + '</span>'
+ '<span>' + shards + '</span>'
+ '</p></div>');
+ '</p></div>');
sheet.insertRule('.page-battle #shard_number {'
sheet.insertRule('.page-battle #shard_number {'
+ 'position: absolute;'
+ 'position: absolute;'
+ 'padding-left: 10px;'
+ 'padding-left: 10px;'
+ 'color: #80058b;'
+ 'color: #80058b;'
+ 'text-shadow: 1px 1px 0 #fff,-1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff;'
+ 'text-shadow: 1px 1px 0 #fff,-1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff;'
+ 'width: 28px;'
+ 'width: 28px;'
+ 'text-align: right;'
+ 'text-align: right;'
+ 'font-size: 12px;}'
+ 'font-size: 12px;}'
);
);
sheet.insertRule('.page-battle .shards .shard {'
sheet.insertRule('.page-battle .shards .shard {'
+ 'background-image: url(https://hh2.hh-content.com/shards.png);'
+ 'background-image: url(https://hh2.hh-content.com/shards.png);'
+ 'background-repeat: no-repeat;'
+ 'background-repeat: no-repeat;'
+ 'background-size: contain;'
+ 'background-size: contain;'
+ 'position: absolute;'
+ 'position: absolute;'
コピー
コピー済み
コピー
コピー済み
+ 'width:
20px
;'
+ 'width:
55px
;'
+ 'height:
20px
;}'
+ 'height:
55px
;}'
);
);
if (girlsData.length > 1) {
if (girlsData.length > 1) {
sheet.insertRule('.page-battle #shard_number {'
sheet.insertRule('.page-battle #shard_number {'
+ 'margin-top: -10px;}'
+ 'margin-top: -10px;}'
);
);
sheet.insertRule('.page-battle .shards .shard {'
sheet.insertRule('.page-battle .shards .shard {'
コピー
コピー済み
コピー
コピー済み
+ 'margin-left:
7
px;'
+ 'margin-left:
-8
px;'
+ 'margin-top:
-11
px;}'
+ 'margin-top:
10
px;}'
);
);
}
}
else {
else {
sheet.insertRule('.page-battle #shard_number {'
sheet.insertRule('.page-battle #shard_number {'
+ 'margin-top: -14px;}'
+ 'margin-top: -14px;}'
);
);
sheet.insertRule('.page-battle .shards .shard {'
sheet.insertRule('.page-battle .shards .shard {'
+ 'margin-left: 3px;'
+ 'margin-left: 3px;'
+ 'margin-top: -15px;}'
+ 'margin-top: -15px;}'
);
);
}
}
}
}
}
}
保存された差分
原文
ファイルを開く
function displayTrollGirlsShards() { if(($('.girls_reward').attr('data-rewards') != undefined) && (CurrentPage.indexOf('battle') != -1)) { let girlsData = JSON.parse($('.girls_reward').attr('data-rewards')); for (let j=0; j < girlsData.length; j++) { let girlId = girlsData[j].id_girl; let shards = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).shards : 0; let name = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).name : ''; $('.slot_girl_shards:nth-child(' + (j+1) + ') .girl_ico').append('<div class="shards" shards="' + shards + '" name="' + name + '">' + '<span class="shard"></span>' + '<p id="shard_number">' + '<span>' + shards + '</span>' + '</p></div>'); sheet.insertRule('.page-battle #shard_number {' + 'position: absolute;' + 'padding-left: 10px;' + 'color: #80058b;' + 'text-shadow: 1px 1px 0 #fff,-1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff;' + 'width: 28px;' + 'text-align: right;' + 'font-size: 12px;}' ); sheet.insertRule('.page-battle .shards .shard {' + 'background-image: url(https://hh2.hh-content.com/shards.png);' + 'background-repeat: no-repeat;' + 'background-size: contain;' + 'position: absolute;' + 'width: 20px;' + 'height: 20px;}' ); if (girlsData.length > 1) { sheet.insertRule('.page-battle #shard_number {' + 'margin-top: -10px;}' ); sheet.insertRule('.page-battle .shards .shard {' + 'margin-left: 7px;' + 'margin-top: -11px;}' ); } else { sheet.insertRule('.page-battle #shard_number {' + 'margin-top: -14px;}' ); sheet.insertRule('.page-battle .shards .shard {' + 'margin-left: 3px;' + 'margin-top: -15px;}' ); } } }
変更されたテキスト
ファイルを開く
function displayTrollGirlsShards() { if(($('.girls_reward').attr('data-rewards') != undefined) && (CurrentPage.indexOf('battle') != -1)) { let girlsData = JSON.parse($('.girls_reward').attr('data-rewards')); for (let j=0; j < girlsData.length; j++) { let girlId = girlsData[j].id_girl; let shards = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).shards : 0; let name = (girlDictionary.get(girlId.toString()) != undefined) ? girlDictionary.get(girlId.toString()).name : ''; $('.slot_girl_shards:nth-child(' + (j+1) + ') .girl_ico').append('<div class="shards" shards="' + shards + '" name="' + name + '">' + '<span class="shard"></span>' + '<p id="shard_number">' + '<span>' + shards + '</span>' + '</p></div>'); sheet.insertRule('.page-battle #shard_number {' + 'position: absolute;' + 'padding-left: 10px;' + 'color: #80058b;' + 'text-shadow: 1px 1px 0 #fff,-1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff;' + 'width: 28px;' + 'text-align: right;' + 'font-size: 12px;}' ); sheet.insertRule('.page-battle .shards .shard {' + 'background-image: url(https://hh2.hh-content.com/shards.png);' + 'background-repeat: no-repeat;' + 'background-size: contain;' + 'position: absolute;' + 'width: 55px;' + 'height: 55px;}' ); if (girlsData.length > 1) { sheet.insertRule('.page-battle #shard_number {' + 'margin-top: -10px;}' ); sheet.insertRule('.page-battle .shards .shard {' + 'margin-left: -8px;' + 'margin-top: 10px;}' ); } else { sheet.insertRule('.page-battle #shard_number {' + 'margin-top: -14px;}' ); sheet.insertRule('.page-battle .shards .shard {' + 'margin-left: 3px;' + 'margin-top: -15px;}' ); } } }
違いを見つける