Skip to content

Instantly share code, notes, and snippets.

View adithya-r-prabhu's full-sized avatar

Tarzen coder adithya-r-prabhu

View GitHub Profile
@adithya-r-prabhu
adithya-r-prabhu / Time4education.com download any pdf
Created January 27, 2024 04:33
Time4education.com download any pdf (textbook etc)
javascript: (function () { var anchors = document.getElementsByTagName("a");for (var i = 0; i < anchors.length; i++) { anchors[i].href = anchors[i].href.replace("pdf.js-gh-pages/web/viewer.php?file=../../", "")} })();
@adithya-r-prabhu
adithya-r-prabhu / Rename tab Bookmarklet
Created January 27, 2024 04:32
Rename tab Bookmarklet
javascript:(function(){var title=prompt("New title?");document.title=title})();
@adithya-r-prabhu
adithya-r-prabhu / time4education.com watch classes unlimited number of times
Created January 27, 2024 04:30
time4education.com watch classes unlimited number of times
javascript:void function(){(function(){function a(a){b.style.pointerEvents="none";var c=document.elementFromPoint(a.clientX,a.clientY);return b.style.pointerEvents="auto",c}var b=document.createElement("div");Object.assign(b.style,{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",zIndex:99999999,background:"transparent",cursor:"crosshair"}),document.body.append(b),document.addEventListener("mousemove",function(c){var d=a(c);if(d){var e=d.getBoundingClientRect();Object.assign(b.style,{background:"rgba(0, 128, 255, 0.25)",outline:"1px solid rgba(0, 128, 255, 0.5)",top:""+e.top+"px",left:""+e.left+"px",width:""+e.width+"px",height:""+e.height+"px"})}}),b.addEventListener("click",function(c){var d=a(c),e=d.getAttribute("onclick")||d.value,f=e.match(/'([^']+)'/)[1];if(console.log(f),!0===e.includes("vdo_cipher"))var g="https://www.time4education.com/my/videotest.php%3Fvideoid="+f;else if(!0===e.includes("bunny"))var g="https://www.time4education.com/online_registration/bunny_video_shp.php%3Fid="+f+"%26cr
@adithya-r-prabhu
adithya-r-prabhu / open first iframe
Created January 27, 2024 04:29
open first iframe
javascript: (function () { var s= document.getElementsByTagName("iframe")[0].src; open(s); })();
@adithya-r-prabhu
adithya-r-prabhu / Open in 12ft.io Bookmarklet
Created January 27, 2024 04:27
Openwebsite in 12ft.io
javascript:window.location="https://12ft.io/proxy?q=%22+encodeURIComponent(window.location)
@adithya-r-prabhu
adithya-r-prabhu / Remove element bookmarklet
Last active January 27, 2024 04:26
Remove element bookmarklet
javascript:if (typeof(zapper) == "undefined") {window.zapper = {state: 1,over: null,selected: null,select: function(e) {zapper.selected = document.elementFromPoint(e.clientX, e.clientY);zapper.over=document.createElement("div");zapper.over.style="pointer-events:none;position:fixed;z-index:2147483647;background-color:#FF0000;opacity:0.5;";document.body.appendChild(zapper.over);var rect = zapper.selected.getBoundingClientRect();var overS=zapper.over.style;overS.left = rect.left+"px";overS.top = rect.top+"px";overS.width = rect.width+"px";overS.height = rect.height+"px";zapper.state = 2;},zap: function(e) {var selected2 = document.elementFromPoint(e.clientX, e.clientY);if (zapper.selected == selected2){console.log("zapping");selected2.parentElement.removeChild(selected2);}document.body.removeChild(zapper.over);zapper.state=3;console.log("done");}};document.body.addEventListener("click", function(e){e.preventDefault();console.log("click");if (zapper.state == 1){zapper.select(e);} else if (zapper.state == 2) {zapp