编辑代码

(function () {

    let hrefList = {
        firewall: 'glados.rocks'
    }
    var domain = location.href
    var cl = x => {
        console.log(x)
        return x
    }
    var intoWeb = x => domain.includes(x)

    (intoWeb(hrefList.firewall)) ? cl('进入' + hrefList.firewall) : 1


})();