58618858b2480dc62fe87c2f77e74ba9cd80d6ef829b002b55562ad13d8fd9c3

Source Code:

!function(t){var e={init:function(){this.setParameters(),this.setEvents()},setParameters:function(){this.BANNER_CONTENT_CLASS="jsc-d-unsupported",this.BANNER_CLOSER_CLASS="jsc-d-bt__close",this.MAX_WARNING_VERSION=11,this.HELP_URL_COM="http://help.dmm.com/-/detail/=/qid=10104/",this.HELP_URL_COJP="http://help.dmm.co.jp/-/detail/=/qid=10304/",this.STORAGE_KEY_NAME="www_warning_version"},setEvents:function(){var e=this;this.addListener(t,"load",function(){e.checkIEVersion(),e.checkStorage(),e.IS_TARGET_VERSION&&e.IS_EXPIRED&&e.createWarningBanner(),e.addListener(document.body,"click",function(t){t.preventDefault?t.preventDefault():t.returnValue=!1,e.removeWarningBanner()},e.BANNER_CLOSER_CLASS)})},createWarningBanner:function(){var t=/dmm.com/.test(location.hostname)?this.HELP_URL_COM:this.HELP_URL_COJP,e='<div class="_d-unsupported_m40zd_1 '+this.BANNER_CONTENT_CLASS+'"><a class="_d-unsupported__inner_m40zd_13" href="'+t+'"><p><span>お使いのブラウザは推奨されていません</span></p><span class="_d-bt__detail_m40zd_62">詳細はこちら</span><span class="_d-bt__close_m40zd_96 '+this.BANNER_CLOSER_CLASS+'">閉じる</span></a></div>';this.createDOM(e)},removeWarningBanner:function(){var e=document.querySelectorAll("."+this.BANNER_CONTENT_CLASS)[0];e.parentNode.removeChild(e);var n=new Date,i=n.setMonth(n.getMonth()+1);t.localStorage.setItem(this.STORAGE_KEY_NAME,i)},checkIEVersion:function(){if(!t.dmmLib)return this.IS_TARGET_VERSION=!1;t.dmmLib.navigator.prototype._initialize();var e=t.dmmLib.navigator.prototype.isIe(),n=t.dmmLib.navigator.prototype.getBrowserMajorVersion();this.IS_TARGET_VERSION=e&&n<=this.MAX_WARNING_VERSION},checkStorage:function(){var e=t.localStorage.getItem(this.STORAGE_KEY_NAME);this.IS_EXPIRED=!e||parseInt(e)<(new Date).getTime()},createDOM:function(t){var e=document.createElement("section");e.innerHTML=t,document.body.insertBefore(e,document.body.firstChild)},addListener:function(t,e,n,i){var a=function(t){i||"string"==typeof i||n(t);var e=t.target;e&&e.className&&e.className.indexOf(i)>-1&&n(t)};t.addEventListener?t.addEventListener(e,a,!1):t.attachEvent&&t.attachEvent("on"+e,a)}};e.init(),"undefined"!=typeof exports&&(module.exports=e)}(window);
!function(){var headTag = document.head || document.getElementsByTagName('head')[0];var styleTag = document.createElement('style');styleTag.type = 'text/css';var css = "._d-unsupported_m40zd_1{position:relative;text-align:center;background-color:#e5e5e5;margin:0 -12px}._d-unsupported_m40zd_1 a:active,._d-unsupported_m40zd_1 a:hover{text-decoration:none}._d-unsupported__inner_m40zd_13{display:block;padding:6px 0}._d-unsupported__inner_m40zd_13 p,._d-unsupported__inner_m40zd_13 span{color:#333}._d-unsupported_m40zd_1 p{position:relative;display:inline-block;margin:0 12px 0;padding-left:30px;font-size:10px;vertical-align:middle;text-align:left}._d-unsupported_m40zd_1 p:before{content:\"\";position:absolute;top:0;left:0;bottom:0;display:inline-block;margin:auto;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjJweCIgaGVpZ2h0PSIyMnB4IiB2aWV3Qm94PSIwIDAgMjIgMjIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDQ3LjEgKDQ1NDIyKSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5MdjEvaWNvbi93ZWIgYXBwL2V4Y2xhbWF0aW9uX2NpcmNsZTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjw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jQwODYzNDgyLDE4LjUwNDE1MjMgQzEuOTU2NzYzMTksMTkuNDU4NjE4MSAyLjk0MDc1NDM1LDIwLjAyODQyMTUgNC4wNDA4MzIwMiwyMC4wMjg0MjE1IEwxNy45NTkyNjM0LDIwLjAyODQyMTUgQzE5LjA1OTI3MTUsMjAuMDI4NDIxNSAyMC4wNDMxOTMyLDE5LjQ1ODYxODEgMjAuNTkxMzkxMSwxOC41MDQxNTIzIEMyMS4xMzk0NSwxNy41NDk1NDc0IDIxLjEzNTk3NjQsMTYuNDExODE2MyAyMC41ODIyMjA5LDE1LjQ2MDY4NTEiIGlkPSJGaWxsLTEiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);width:22px;height:22px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){._d-unsupported_m40zd_1 p:before{background-image:url(https://www.dmm.com/images/common/header/sprite_header_parts_170726@2x.png);background-size:50px 2464px;width:10px;height:10px}}._d-unsupported_m40zd_1 p span{display:block;margin-bottom:2px;font-size:12px;font-weight:700}._d-unsupported_m40zd_1 ._d-bt__detail_m40zd_62{position:relative;display:inline-block;width:130px;height:36px;border-radius:100px;background-color:#fff;line-height:36px;vertical-align:middle;text-align:center;color:#005fc0;font-size:12px;font-weight:700}._d-unsupported_m40zd_1 ._d-bt__detail_m40zd_62:after{content:\"\";position:absolute;top:50%;right:10px;margin-top:-4px;background-image:url(https://www.dmm.com/images/common/header/sprite_header_parts_170726.png);background-position:0 0;width:7px;height:9px}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){._d-unsupported_m40zd_1 ._d-bt__detail_m40zd_62:after{background-image:url(https://www.dmm.com/images/common/header/sprite_header_parts_170726@2x.png);background-size:50px 2464px}}._d-unsupported_m40zd_1 ._d-bt__close_m40zd_96{position:absolute;top:50%;right:14px;margin-top:-12px;background-image:url(https://www.dmm.com/images/common/header/sprite_header_parts_170726.png);background-position:0 -637px;width:25px;height:25px;text-indent:-5em;overflow:hidden}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){._d-unsupported_m40zd_1 ._d-bt__close_m40zd_96{background-image:url(https://www.dmm.com/images/common/header/sprite_header_parts_170726@2x.png);background-size:50px 2464px}}";if(styleTag.styleSheet){styleTag.styleSheet.cssText = css} else {styleTag.appendChild(document.createTextNode(css))}headTag.appendChild(styleTag)}()