Share your repls and programming experiences

← Back to all posts
Offline Editor Local Storage
AdCharity (1329)

I reposting this cause I accidently deleted it....


Anyway, this is an offline editor that saves your data with local storage.
I've also made a bookletmark (a little bookmark that runs a piece of javascript) so you can carry a mini note on any tab.


I just started making a text editor since my school administrators BLOCKED OFFLINE EDITING (I'm using a school lent chromebook) EXTENTIONS!


*This one opens up an overlay over your tab (may cause issues):
javascript:(function() {document.body.innerHTML+='<iframe style=\"width: 25%;border: 3px solid black; z-index: 100000000000; position: fixed; bottom: 0; right: 0; height: 50%;\" src=\"\">';})();

*This one removes the overlay
javascript:(function()%7Bfunction R(w)%7Btry%7Bvar d=w.document,j,i,t,T,N,b,r=1,C;for(j=0;t=%5B"object","embed","applet","iframe"%5D%5Bj%5D;++j)%7BT=d.getElementsByTagName(t);for(i=T.length-1;(i+1)&&(N=T%5Bi%5D);--i)if(j!=3%7C%7C!R((C=N.contentWindow)?C:N.contentDocument.defaultView))%7Bb=d.createElement("div");;;b.innerHTML="<del>"+(j==3?"third-party "+t:t)+"</del>";N.parentNode.replaceChild(b,N);%7D%7D%7Dcatch(E)%7Br=0%7Dreturn r%7DR(self);var i,x;for(i=0;x=frames%5Bi%5D;++i)R(x)%7D)()

*this one opens up a new window in the corner (will not cause problems, close it out as usual)
javascript:(function() {var myWindow ="", "", "width=400,height=400");})();