diff --git a/.config/qutebrowser/autoconfig.yml b/.config/qutebrowser/autoconfig.yml index 1026161..e565982 100755 --- a/.config/qutebrowser/autoconfig.yml +++ b/.config/qutebrowser/autoconfig.yml @@ -30,7 +30,9 @@ settings: scd: spawn -u switchdark sd: spawn -u open_download se: open javascript:(function()%7Btry%7Bvar%20d=document,w=window;if(!d.body%7C%7Cd.body.innerHTML=='')throw(0);var%20s=d.createElement('link'),h=d.getElementsByTagName('head')[0],i=d.createElement('div'),j=d.createElement('script');s.rel='stylesheet';s.href='//dotepub.com/s/dotEPUB-favlet.css';s.type='text/css';s.media='screen';h.appendChild(s);i.setAttribute('id','dotepub');i.innerHTML='%3Cdiv%20id=%22status%22%3E%3Cp%3EConversion%20in%20progress...%3C/p%3E%3C/div%3E';d.body.appendChild(i);j.type='text/javascript';j.charset='utf-8';j.src='//dotepub.com/j/dotepub.js?v=1.2&s=0&t=epub&g=en';h.appendChild(j);%7Dcatch(e)%7Bw.alert('The%20page%20has%20no%20content%20or%20it%20is%20not%20fully%20loaded.%20Please,%20wait%20till%20the%20page%20is%20loaded.');%7D%7D)(); + sj: open javascript:(function()%7B%20let%20i%2C%20elements%20%3D%20document.querySelectorAll('body%20*')%3B%20for%20(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%20%7B%20if(getComputedStyle(elements%5Bi%5D).position%20%3D%3D%3D%20'fixed'%20%7C%7C%20getComputedStyle(elements%5Bi%5D).position%20%3D%3D%3D%20'sticky')%7B%20elements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%20%7D%20%7D%20%7D)() sq: open qr {url} + sr: open javascript:(function()%7Bfunction%20R(w)%7Btry%7Bvar%20d=w.document,j,i,t,T,N,b,r=1,C;for(j=0;t=[%22object%22,%22embed%22,%22applet%22,%22iframe%22][j];++j)%7BT=d.getElementsByTagName(t);for(i=T.length-1;(i+1)&&(N=T[i]);--i)if(j!=3%7C%7C!R((C=N.contentWindow)?C:N.contentDocument.defaultView))%7Bb=d.createElement(%22div%22);b.style.width=N.width;%20b.style.height=N.height;b.innerHTML=%22%3Cdel%3E%22+(j==3?%22third-party%20%22+t:t)+%22%3C/del%3E%22;N.parentNode.replaceChild(b,N);%7D%7D%7Dcatch(E)%7Br=0%7Dreturn%20r%7DR(self);var%20i,x;for(i=0;x=frames[i];++i)R(x)%7D)();%20javascript:(function()%7Bvar%20newSS,%20styles='*%20%7B%20background:%20white%20!%20important;%20color:%20black%20!important%20%7D%20:link,%20:link%20*%20%7B%20color:%20#0000EE%20!important%20%7D%20:visited,%20:visited%20*%20%7B%20color:%20%23551A8B%20!important%20%7D';%20if(document.createStyleSheet)%20%7B%20document.createStyleSheet(%22javascript:'%22+styles+%22'%22);%20%7D%20else%20%7B%20newSS=document.createElement('link');%20newSS.rel='stylesheet';%20newSS.href='data:text/css,'+escape(styles);%20document.getElementsByTagName(%22head%22)[0].appendChild(newSS);%20%7D%20%7D)();%20javascript:(function()%7Bvar%20d=document;%20function%20K(N,w)%20%7B%20var%20nn%20=%20d.createElement(w),%20C%20=%20N.childNodes,%20i;%20for(i=C.length-1;i%3E=0;--i)%20nn.insertBefore(C[i],nn.childNodes[0]);%20N.parentNode.replaceChild(nn,N);%20%7D%20function%20Z(t,w)%20%7B%20var%20T%20=%20document.getElementsByTagName(t),%20j;%20for%20(j=T.length-1;j%3E=0;--j)%20K(T[j],w);%20%7D%20Z(%22blink%22,%20%22span%22);%20Z(%22marquee%22,%20%22div%22);%20%7D)();%20javascript:(function()%7Bvar%20H=[%22mouseover%22,%22mouseout%22,%22unload%22,%22resize%22],o=window.opera;%20if(document.addEventListener/*MOZ*/&&!o)%20for(j%20in%20H)document.addEventListener(H[j],function(e)%7Be.stopPropagation();%7D,true);%20else%20if(window.captureEvents/*NS4*/&&!o)%20%7B%20document.captureEvents(-1/*ALL*/);for(j%20in%20H)window[%22on%22+H[j]]=null;%7D%20else/*IE*/%20%7Bfunction%20R(N)%7Bvar%20i,x;for(j%20in%20H)if(N[%22on%22+H[j]]/*NOT%20TEXTNODE*/)N[%22on%22+H[j]]=null;for(i=0;x=N.childNodes[i];++i)R(x);%7DR(document);%7D%7D)();%20javascript:(function()%20%7B%20var%20c,%20tID,%20iID;%20tID%20=%20setTimeout(function()%7B%7D,%200);%20for%20(c=1;%20c%3C1000%20&&%20c%3C=tID;%20++c)%20clearTimeout(tID%20-%20c);%20iID%20=%20setInterval(function()%7B%7D,1000);%20for%20(c=0;%20c%3C1000%20&&%20c%3C=iID;%20++c)%20clearInterval(iID%20-%20c);%20%7D)(); st: spawn -u switchtor sw: open https://webrecorder.io/record/{url} sx: spawn -u nitterize