From 6b88d029da66aa3a59b4551b5910923cc3bd819a Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Thu, 25 Feb 2016 18:09:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E4=BB=A3=E7=A0=81=E9=AB=98?= =?UTF-8?q?=E4=BA=AE=E6=A0=B7=E5=BC=8F=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/bg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/bg.js b/js/bg.js index ffea77a..64e0ea6 100644 --- a/js/bg.js +++ b/js/bg.js @@ -9,7 +9,7 @@ chrome.extension.onRequest.addListener( for (var i = 0; i < elms.length; i++) { var styl = elms[i].getAttribute('style'); if(elms[i].tagName === 'PRE'){ - elms[i].setAttribute('style',' word-wrap: normal!important;box-sizing: border-box; overflow: auto;font-size: 0.93em; padding: 1em; margin-top: 1.5em; margin-bottom: 1.5em; line-height: 1.3; word-break: break-all; word-wrap: break-word; color: rgb(101, 123, 131); border: none; border-radius: 3px; max-height: 35em; background-color: rgb(246, 246, 246);') + elms[i].setAttribute('style',' word-wrap: normal!important;box-sizing: border-box; overflow: auto;font-size: 0.93em; padding: 1em; margin-top: 1.5em; margin-bottom: 1.5em; line-height: 1.3; word-break: break-all; word-wrap: break-word; color: rgb(101, 123, 131); border: none; border-radius: 3px; max-height: 35em; background-color:#E1E1E9;') }else if(elms[i].tagName === 'CODE'){ elms[i].setAttribute('style','box-sizing: border-box;font-size: 1em; color: inherit; border-radius: 0px; white-space: inherit; overflow-wrap: normal; background: none;') }else{