这是代码,我从字面上只是从网站复制并粘贴代码。它是使我可以在一个小窗口中的网站上查看其他网站的代码。但是我很笨,不知道如何重新定位。
javascript:((function()%7Bvar a,b,c;c="https://www.bing.com/?safe=active&ssui=on",b=document.createElement("iframe"),b.setAttribute("src",c),b.setAttribute("id","rusic-modal"),b.setAttribute("style","position: fixed; z-index: 999999; width: 600px; height: 400px; right: 10px; top: 10px; border: 5px solid #8834af; overflow: hidden; background-color: #fff;"),a=document.getElementsByTagName("body")%5B0%5D,a.appendChild(b)%7D)).call(this)
如果您有“顶部”,请替换为“底部”。如果您有“正确”的地方,请替换为左侧
因此与:
right: 10px; top: 10px; border: 5px; ...
执行
left: 10px; bottom: 10px; border: 5px; ...