A couple things I saw and thought "Mastodon will love this":
- Alias, a 3D-printed "parasite" that sits on top of your Amazon Echo or Google Home, feeding white noise into its mic until you say the wake word: http://bjoernkarmann.dk/project_alias
- The adminbook, a wonderfully ugly design for the ideal sysadmin notebook: https://m.habr.com/en/post/437912/
🐘
Updated script, but I was blocked from using as soon as I executed it:
function killFriend(x) {
var inactives = document.getElementsByClassName("inactiv");
if (x < inactives.length) {
inactives[x].getElementsByClassName("friendButton")[0].click();
setTimeout(
function() {
document.getElementsByClassName("FriendListUnfriend")[0].getElementsByTagName("a")[0].click();
setTimeout(function() { killFriend(x+1); }, 2000); }, 2000);
}
};
killFriend(0);
"Don't worry about the undefined, it just means that the last command you ran had nothing to send back to the console."
var inactives = document.getElementsByClassName("inactiv");
for(i=0;i<inactives.length;i++){
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "/ajax/profile/removefriendconfirm.php?uid="+inactives[i].getElementsByClassName("friendButton")[0].dataset['profileid']+"&unref=bd_friends_tab&floc=friends_tab", true);
xmlhttp.send();
}
Why is this undefined? I don't know JS at all.