Skip to content

Instantly share code, notes, and snippets.

@chouhy
chouhy / Tetrio file upload bookmarklet
Created January 16, 2023 23:42
bookmarklet for uploading tetrio file
javascript: (() => {
function FakeDataTransfer(file) {
this.dropEffect = 'all';
this.effectAllowed = 'all';
this.items = [];
this.types = ['Files'];
this.getData = function() {
return file;
};
this.files = [file];
@chouhy
chouhy / tetrio.replay.user.js
Last active March 4, 2025 03:13
Tetrio: Add upload replay button in solo mode
// ==UserScript==
// @name Tetrio replay
// @namespace http://tampermonkey.net/
// @version 1.0
// @description replay upload
// @author chouhy
// @match https://tetr.io/*
// @grant none
// ==/UserScript==