Edit your Webmaker Thimble make with a bookmarklet

Well, kind of. I made this little bookmarklet that lets you do just that (simply drag the link below to your bookmarks):

Edit make

The code is very simple – especially since Thimble (make viewer?) loads jQuery:

javascript:(function(){
  /*Created by twitter.com/fourtonfish*/    
  try{
    document.location.href = $("div.make-bar-button a").attr("href").replace(/remix/,"edit");
  }
  catch(err){
    alert("Uh, no.");
    console.log(err);
  }
})();

A few notes:

  • This will not let you edit other people’s makes. (It will kind of look like that’s what’s happening, but you will really only be creating a remix. And good luck finding it to delete it.)
  • I know, I know, error handling. See the next note.
  • Feel free to copy/modify the code.
  • It would be nice if you kept the author info, but hey, this is the internet, it’s not like I can do anything if you don’t.

More tutorials

A tinted screenshot showing the finished bot posting a flag and asking about a corresponding capital, followed by a reply from me with a correct answer, and the bot accepting it.
A tinted screenshot of profile fields on Mastodon, showing a newly added

Automating your Mastodon profile with Pipedream.com

Show the current time and weather in your city, change your profile picture, or show what you're currently listening to on your Mastodon profile.

#api #automation #mastodon #mastodon-api #mastodon-py #pipedream-com

Screenshot of the finished Mastodon bot posting a protest art image with a raised fist in solidarity.

💻 Browse all