via浏览器吧 关注:6,883贴子:27,037
  • 7回复贴,共1

网页黑色加强的css代码

只看楼主收藏回复

/*黑色加强*/(function(){function addStyle(rules){var styleElement = document.createElement('style');styleElement.type='text/css';document.getElementsByTagName('head'[0].appendChild(styleElement);styleElement.appendChild(document.createTextNode(rules));}addStyle('html{background:#fff!important;}');addStyle('html *{background:none!important;color:#000 !important;border-color:#000 !important;border-width:0 !important;}'); })();


IP属地:辽宁来自手机贴吧1楼2018-08-22 10:46回复
    hipda里找来的代码


    IP属地:辽宁来自手机贴吧2楼2018-08-22 10:47
    回复
      2026-04-16 03:44:43
      广告
      不感兴趣
      开通SVIP免广告
      我自己试下,却没有效果,请问是哪里的问题呢?


      IP属地:辽宁来自手机贴吧3楼2018-08-22 10:53
      回复
        - -代码写的有问题


        4楼2018-08-22 11:16
        收起回复
          /*口袋阅via浏览器翻页按钮by:fewtime */{var totn=document.createElement("div");totn.innerHTML="﹀";totn.setAttribute("style","font-size:36px !important;width:0vw !important;height:0vw !important;text-align:center !important;background-color:rgba(0,0,0,0) !important;box-shadow:0px 0px 1px rgba(0,0,0,1) !important;position:fixed !important;bottom:39vh !important;position:relative;top:60% !important;left:300px !important;z-index:99999 !important;border-radius:100% !important;");totn.onclick=function(){window.scrollBy(0,450);};document.getElementsByTagName("html").item(0).appendChild(totn);var totna=document.createElement("div");totna.innerHTML="︿";totna.setAttribute("style","font-size:36px !important;width:0vw !important;height:0vw !important;text-align:center !important;background-color:rgba(0,0,0,0) !important;box-shadow:0px 0px 1px rgba(0,0,0,1) !important;position:fixed !important;bottom:50vh !important;relative;top:40% !important;left:300px!important;z-index:99999 !important;border-radius:100% !important;");totna.onclick=function (){window.scrollBy(0,-450);};document.getElementsByTagName("html").item(0).appendChild(totna);};
          /*黑色加强*/(function() {function addStyle(rules) {var styleElement = document.createElement('style'); styleElement.type = 'text/css';document.getElementsByTagName('head')[0].appendChild(styleElement);styleElement.appendChild(document.createTextNode(rules));}addStyle('html {background:#fff !important;}');addStyle('html *{background: none !important;color:#000 !important;border-color:#000 !important;border-width:0 !important;}'); })();


          IP属地:江苏5楼2019-08-20 19:02
          回复
            这个好用吗?试试看


            IP属地:广西6楼2019-10-10 16:05
            回复
              不能用!


              来自Android客户端7楼2019-10-11 22:15
              回复