![]() Var nocsp = 'padding:0px transition-duration:666ms transition-property:height z-index:114154 bottom:15% right:0.5% position:fixed border:transparent background-color:transparent background-image:url("") !important background-size:100% !important background-repeat:no-repeat ' ĭocument.getElementById('x4Div').appendChild(x4Home) // 在 x4Div 下添加按钮ĭocument.getElementById('x4Home').style.height = x ĭocument.getElementById('x4Home').style.width = x Ĭonsole.log("本次移动距离" + Math.abs(last_known_scroll_position - window.scrollY)) tAttribute('onclick', "body_build('true') ") Let x4Home = document.createElement('button') ![]() document.querySelector('html').appendChild(new_body) // 插入到现有 body 后ĭocument.querySelector('html').insertBefore(new_body, body) // 插入到现有 body 前 Let new_body = document.createElement('div') // body 换为 div Var ele_catch = document.querySelectorAll(ele) Var i, url_result var url_regex = new RegExp(x, "gi")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |