var title = $(this).parent().attr('title') || $(this).find('a').attr('title');
var season_num = $(this).find('span[class^="flag_"] img').attr('src').match(/flag_.(\d+)\.gif/)[1];
var world = title.replace('ワールド', '');
var chapter = $(this).find('span.otono_sm:first img').attr('src')?.match(/_otono_s(\d+)_\d+\.png/)[1] || '27';
var season = Number(season_num).toString(10);
+ alert('world = ' + world + ', chapter = ' + chapter + ', season = ' + season);
if (!chapter) {
alert('【sengokuixa-moko】\n\nこのワールドの舞台には対応していません');
return false;
}
// MokoLogin
function MokoLogin($) {
console.debug('Load... MokoLogin');
"use strict";
// ログイン時間
var time = ~~(new Date() / 1000);
document.cookie = 'im_st=' + time + '; max-age=10800; domain=.sengokuixa.jp; path=/;';
$('div.infoTable').css({
'margin-left': '0',
'padding': '0'
}).insertBefore('div.back');
$('div[class*="subserver_s"], div[class*="mainserver_s"]').bind('mousedown', function() {
if (MokoLogin.flag) {
location.href = $('div.back a').attr('href');
return false;
}
var title = $(this).parent().attr('title') || $(this).find('a').attr('title');
var season_num = $(this).find('span[class^="flag_"] img').attr('src').match(/flag_.(\d+)\.gif/)[1];
var world = title.replace('ワールド', '');
var chapter = ($(this).find('span.otono_sm:first img').attr('src').match(/_otono_s(\d+)_\d+\.png/) || ['','27'])[1];
var season = Number(season_num).toString(10);
if (!chapter) {
alert('【sengokuixa-moko】\n\nこのワールドの舞台には対応していません');
return false;
}
// 同盟スコア計算追加
function doumeiScore() {
var createScore = function() {
var result = parseFloat($('div.alliance_points dt:contains("総同盟ポイント")').closest('dl').find('dd:eq(0)').text().replace(/\,/g, ''));
var value = addFigure(Math.floor(result / 500));
var $deck = $('div.alliance_member_control:first');
$('#doumei_score').remove();
$deck.append('<span id="doumei_score">同盟スコア: (' + value + ')</span>');
Failed to load resource: the server responded with a status of 404 ()
85Blocked third-party cookie. Learn more in the Issues tab.
cmt.js:10 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'indexOf')
at cmt.js:10:188
at prototype.js:1:11095
at prototype.js:1:10358
at Array.forEach (<anonymous>)
at Array.each (prototype.js:1:10340)
at Array.findAll (prototype.js:1:11073)
at c (cmt.js:10:156)
at k.i (cmt.js:10:277)
at k.l (cmt.js:10:344)
at e.mb (cmt.js:29:260)
village.php:1 Uncaught SyntaxError: "[object Object]" is not valid JSON
at JSON.parse (<anonymous>)
at Object.getMarket (<anonymous>:925:14)
at HTMLSelectElement.<anonymous> (<anonymous>:1861:29)
at HTMLDivElement.dispatch (jquery-2.1.3.js:3:6444)
at r.handle (jquery-2.1.3.js:3:3219)
at Object.trigger (jquery-2.1.3.js:3:5552)
at HTMLSelectElement.<anonymous> (jquery-2.1.3.js:3:11520)
at Function.each (jquery-2.1.3.js:2:2882)
at n.fn.init.each (jquery-2.1.3.js:2:847)
at n.fn.init.trigger (jquery-2.1.3.js:3:11496)