Add running effect to alternative web pages
<P id = "bxArticle_97" style = "padding: 9; line-height: 18px; height: 90"> <TABLE style = "MARGIN-TOP: 12px; BACKGROUND: white; MARGIN-BOTTOM: 12px; WIDTH: 90% "cellSpacing = 0 borderColorDark = white cellPadding = 0 align = center borderColorLight = # bababa border = 1> <TBODY> <TR height = 22> <TD style =" PADDING-LEFT: 6px; BACKGROUND: # d4d0c8 "> ◇ modify the following code first-> <U style =" CURSOR: pointer "> run the following js </U> </TD> </TR> <TR vAlign = t Op height = 90> <TD style = "PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; WORD-BREAK: break-all; PADDING-TOP: 6px "name =" # jscode "> <p contenteditable = true style = width: 100%; height: 100%;> script alert (" Modify me ~~ ") Script </TD> </TR> </TBODY> </TABLE> </p> script dxy_init () function dxy_init () {window. $ = function (obj) {return typeof (obj) = "string "? Document. getElementById (obj): obj} var threadID = "97", myName = "" $("bxArticle_97 "). onclick = function (e) {var e = event | e, ee = e. srcElement if (ee. tagName = "U" & ee. innerText = "run the following js") jsCode_run (ee)} function jsCode_run (ee) {var data, w data = ee. parentNode. parentNode. nextSibling. innerText w = window. open ("", "_ blank", "") specify Doc ument. write (data) into Doc ument. close () if (/<script (.) + src = /. test (data) w. location. reload (true)} script
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
The running result from script8 is good,