Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Zearn universal hack(all hacks in one bookmark, when clicked will complete whatever you are currently on.):
- //COPY START
- :async function SHA1(e){let t=(new TextEncoder).encode(e),n=await crypto.subtle.digest("SHA-1",t),s=Array.from(new Uint8Array(n)).map((e=>e.toString(16).padStart(2,"0"))).join("");return s}var post=gon.posts[0],type=post.assets.category,comptext="",e={event_type:comptext="guided-practice"===type?"lesson_completed":"independent-practice"===type?"tower_completed":"fluency"===type&post.assets.link.includes("number_gym_activities")?"nga_completed":"fluency_completed",subject_id:post.postable_id,success:!0},r=gon.current_user?gon.current_user.id:0,n=e.event_type,i=r+"."+e.subject_id+"-"+n;SHA1(i).then((function(t){e.confirmation=t,Dent.utils.Store.dispatch("userEvents/create",{event:e});setTimeout(function(){window.location.reload();},250);}));
- //COPY END
- //To run from console, remove javascript: from beginning, or else will give errors!
Advertisement
Comments
-
- Didnt work i wont let me put it in
-
- doesnt work i had to put javascript in front of it and just doesnt work
Add Comment
Please, Sign In to add comment
Advertisement