firstScript.parentNode.insertBefore(element, firstScript); function makeStub() { var TCF_LOCATOR_NAME = '__tcfapiLocator'; var queue = []; var win = window; var cmpFrame; function addFrame() { var doc = win.document; var otherCMP = !!(win.frames[TCF_LOCATOR_NAME]); if (!otherCMP) { if (doc.body) { var iframe = doc.createElement('iframe'); iframe.style.cssText = 'display:none'; iframe.name = TCF_LOCATOR_NAME; doc.body.appendChild(iframe); } else { setTimeout(addFrame, 5); } } return !otherCMP; } function tcfAPIHandler() { var gdprApplies; var args = arguments; if (!args.length) { return queue; } else if (args[0] === 'setGdprApplies') { if ( args.length > 3 && args[2] === 2 && typeof args[3] === 'boolean' ) { gdprApplies = args[3]; if (typeof args[2] === 'function') { args[2]('set', true); } } } else if (args[0] === 'ping') { var retr = { gdprApplies: gdprApplies, cmpLoaded: false, cmpStatus: 'stub' }; if (typeof args[2] === 'function') { args[2](retr); } } else { if(args[0] === 'init' && typeof args[3] === 'object') { args[3] = { ...args[3], tag_version: 'V2' }; } queue.push(args); } } function postMessageEventHandler(event) { var msgIsString = typeof event.data === 'string'; var json = {}; try { if (msgIsString) { json = JSON.parse(event.data); } else { json = event.data; } } catch (ignore) {} var payload = json.__tcfapiCall; if (payload) { window.__tcfapi( payload.command, payload.version, function(retValue, success) { var returnMsg = { __tcfapiReturn: { returnValue: retValue, success: success, callId: payload.callId } }; if (msgIsString) { returnMsg = JSON.stringify(returnMsg); } if (event && event.source && event.source.postMessage) { event.source.postMessage(returnMsg, '*'); } }, payload.parameter ); } } while (win) { try { if (win.frames[TCF_LOCATOR_NAME]) { cmpFrame = win; break; } } catch (ignore) {} if (win === window.top) { break; } win = win.parent; } if (!cmpFrame) { addFrame(); win.__tcfapi = tcfAPIHandler; win.addEventListener('message', postMessageEventHandler, false); } }; makeStub(); var uspStubFunction = function() { var arg = arguments; if (typeof window.__uspapi !== uspStubFunction) { setTimeout(function() { if (typeof window.__uspapi !== 'undefined') { window.__uspapi.apply(window.__uspapi, arg); } }, 500); } }; var checkIfUspIsReady = function() { uspTries++; if (window.__uspapi === uspStubFunction && uspTries < uspTriesLimit) { console.warn('USP is not accessible'); } else { clearInterval(uspInterval); } }; if (typeof window.__uspapi === 'undefined') { window.__uspapi = uspStubFunction; var uspInterval = setInterval(checkIfUspIsReady, 6000); } })();
たかっちゃブログ
ホーム
マインクラフト
アセットコルサ
ゲーミングPC
ゲーム周辺機器
マルチサーバー
キャンプ道具
お問い合わせ
プライバシーポリシー
当サイトはアフィリエイト広告を利用しています
ホーム
「2022年」の記事一覧
2022年12月22日
【マイクラJava版】影MOD『SEUS PTGI HRR 3』へアップデートでさらに美麗なグラフィックに。
2022年6月13日
【assetto corsa】疾走感あふれるスクリーンショットの撮り方
2023年5月18日
T300RS GT Editionを購入したらまずやることは?初期設定のやり方を解説!
2023年2月16日
アセットコルサでハンコンを使うには?Thrustmaster T300RS GT Editionの設定方法を解説!
2024年3月17日
AssettoCorsaでリアルな首都高が走れる!首都高MODの入れ方を解説します!
2023年9月12日
【AssettoCorsa】夜間走行を楽しもう!『Sol』『カスタムシェーダーパッチ』の入れ方を徹底解説!
2023年6月14日
【assetto corsa】MODの入れ方 コンテンツマネージャーの導入方法を解説!
2023年4月15日
アセットコルサの始め方【Steam版】購入から日本語化のやり方までわかりやすく解説!
2022年1月30日
【Java版】おススメエンチャント『修繕』を村人との取引で入手する方法とは?
2022年1月31日
【Java版】金床の便利な使い方。エンチャントレベルを最大まで強化しよう!
1
2
3
4