Skip to content

Instantly share code, notes, and snippets.

@Slyyxp
Last active June 10, 2024 08:53
Show Gist options
  • Save Slyyxp/b845c4ea17d351a7154e98061ca626c4 to your computer and use it in GitHub Desktop.
Save Slyyxp/b845c4ea17d351a7154e98061ca626c4 to your computer and use it in GitHub Desktop.
Autofill request template.
// ==UserScript==
// @name Reqbot Userscript
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Autofill reqbot template on requests.php
// @author Slyyxp
// @match https://jpopsuki.eu/forums.php?action=new&forumid=28
// @icon https://www.google.com/s2/favicons?sz=64&domain=jpopsuki.eu
// @grant none
// ==/UserScript==
(function() {
'use strict';
var template = "Artist:\nTitle:\nOriginal Artist:\nOriginal Title:\nUrl:\nTorrent Group:\nTags:\n"
var entryText = document.querySelector("div textarea").value=template;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment