Open the F**king URL Right Now

自动跳转某些网站不希望用户直达的外链

< Opiniones de Open the F**king URL Right Now

Puntuación: Pasable; el script funciona, pero tiene carencias importantes

§
Publicado: 18/03/2023

脚本会向微信网页中代码块内的小书签链接中添加某些字符

开启脚本前代码:

javascript:var frame=document.createElement('iframe');frame.setAttribute('id','sidebarView');var x='https://edgeservices.bing.com/edgediscover/query?clientscopes=windowheader,coauthor,chat,&udsframed=1';frame.src=x;frame.style.position='fixed';frame.style.top='-1px';frame.style.right='0%';frame.style.height='100%';frame.style.width='450px';frame.style.border='1px solid #bbb';frame.style.background='#fff';frame.style.zIndex='100000';document.body.appendChild(frame);void(0);javascript:(()=>{const b = document.createElement('button');b.setAttribute('id','sidebarClose');b.onclick=()=>{document.querySelectorAll('#sidebarView,#sidebarClose').forEach(function(i) {i.parentElement.removeChild(i);});};b.style='all:reset;position:fixed;z-index:999999;top:3%;margin:auto;right:220px;width:28px;height:28px;border-radius:50%;border: 2px solid #bbb;background-color:#eee;';b.innerText='✕';document.body.appendChild(b)})();

开启脚本后代码:

javascript:var frame=document.createElement('iframe');frame.setAttribute('id','sidebarView');var x='https://edgeservices.bing.com/edgediscover/query?clientscopes=windowheader">https://edgeservices.bing.com/edgediscover/query?clientscopes=windowheader,coauthor,chat,&udsframed=1';frame.src=x;frame.style.position='fixed';frame.style.top='-1px';frame.style.right='0%';frame.style.height='100%';frame.style.width='450px';frame.style.border='1px solid #bbb';frame.style.background='#fff';frame.style.zIndex='100000';document.body.appendChild(frame);void(0);javascript:(()=>{const b = document.createElement('button');b.setAttribute('id','sidebarClose');b.onclick=()=>{document.querySelectorAll('#sidebarView,#sidebarClose').forEach(function(i) {i.parentElement.removeChild(i);});};b.style='all:reset;position:fixed;z-index:999999;top:3%;margin:auto;right:220px;width:28px;height:28px;border-radius:50%;border: 2px solid #bbb;background-color:#eee;';b.innerText='✕';document.body.appendChild(b)})();

由于自己的插件和脚本比较多,花了一下午才找到这个问题,整个人现在就是非常难受!!!

OldPandaAutor
§
Publicado: 29/03/2023

不好意思,这个情况确实没有考虑到,我找时间修一下

Publicar respuesta

Inicia sesión para responder.