Skip to content

Instantly share code, notes, and snippets.

View DigitalCheese's full-sized avatar
💻
THE C PROGRAMMING LANGUAGE

Digital Cheese DigitalCheese

💻
THE C PROGRAMMING LANGUAGE
View GitHub Profile
@LeftistTachyon
LeftistTachyon / fun.js
Last active August 17, 2023 21:27
The scripting half of the pfp insanity
savestring = "*insert Base64 junk here*";
saving=true;
document.getElementById('button_save').style.background='#888';
statusdiv.innerHTML='Saving the painting';
(SaveObj=new XMLHttpRequest()).open('POST', 'includes/ajax_dsipaint_save.php', true);
SaveObj.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
SaveObj.send ('data='+savestring);
SaveObj.onreadystatechange=function(){
if(SaveObj.readyState==4){
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active July 24, 2024 19:17
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }