Javascript Tricks.

Change nosy elements
tai=function(t,a)
{
 var l,m;
 m= e=>
{
 this.r=(a,o,n)=>
{
 var r,s;
 s=e.getAttribute(a);
 r=s.indexOf(o)>=0;
 if(r)e.setAttribute(a, s.replace(o,n));
 return r;
};

 a.call(this,e);
};
 document.querySelectorAll(t).forEach(m);
 l=new MutationObserver( l=>
{
 l.forEach( e=>
{
 e.addedNodes.forEach( e=>
{
 console.log(document.querySelector("img").matches("img"));
if(typeof e.matches=="function"
 &&e.matches(t))m(e);
 e.querySelectorAll(':scope '+t).forEach(m);
});
});
});
 l.observe(document, {attributes:false, childList:true, subtree:true});
};

tai("img", e=>{ this.r("src","nots","moss"); e.parentElement.href=e.src; });
Current JS-max(functionCallDepth)
 /* if there is none though, it will loop outside control... */
var i=0;try{var e=function(){i;i++;e()};e()}catch(E){console.warn(E.message+':',i)}
X,Y of Cursor:
var _pt=true;
window.addEventListener("keydown",e=>{
 if(e.ctrlKey){_pt=undefined;}});
document.addEventListener('mousemove',function(i){
 _pt&&console.log('X:'+i.pageX.toString()+' Y:'+i.pageY.toString());})
Canvas Resizing.
/*to window*/
 canvas.style.width="100%"
 canvas.style.height="100%"
/*request a fullscreen*/
canvas.requestFullscreen()
Autoclicker...
tg$=false;i$=[];
window.addEventListener("keydown",e=>{
 if(e.ctrlKey){
  tg$=true;
  i$.forEach(i=>{clearInterval(i)});
  i$=[]}});
window.addEventListener("keyup",e=>{
 if(!e.ctrlKey){
  tg$=false}});
function click(t,x,y){
 function m(s){var e=document.createEvent("MouseEvent");
  e.initMouseEvent(s,true/*bubble*/,true/*canceable*/,window,1,0,0,x,y,
  false,false,false,false,0,null);
  return e;}
 t.dispatchEvent(m("mousedown"));
 t.dispatchEvent(m("mouseup"));
 t.dispatchEvent(m("click"))}
document.addEventListener("mouseup",e=>{
 tg$&&(()=>{
  let x=e.clientX;
  let y=e.clientY;
  console.log(e.target,x,y);
  i$.push(setInterval((()=>{click(e.target,x,y)}),10))})()})
COOKIES...
setInterval(()=>{
  tp='golden';
  var newShimmer=new Game.shimmer(tp);
  newShimmer.spawnLead=1;
  Game.gainLumps(100);
  if (Game.Has('Distilled essence of redoubled luck'))
   var newShimmer=new Game.shimmer(tp);},
 100);
setInterval(()=>{
  document.querySelectorAll('.shimmer').forEach(i=>{
   i.click();})},
 10);