Skip to content

Instantly share code, notes, and snippets.

@smasongarrison
Forked from Slyyxp/reqbot.js
Created May 24, 2024 22:43
Show Gist options
  • Save smasongarrison/0cbff4b7c46e2793f3417544b4a5a9ce to your computer and use it in GitHub Desktop.
Save smasongarrison/0cbff4b7c46e2793f3417544b4a5a9ce 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