Warning: fopen(/www/sites/greasyfork.icu/index/store/temp/0c5ecb4de74833f1089ff79379dd13f5.html): failed to open stream: No space left on device in /www/sites/greasyfork.icu/index/scriptsControl.php on line 132
Pastebin auto select Unlisted - 源代码

Greasy Fork

Greasy Fork is available in English.

Pastebin auto select Unlisted

auto selects unlisted when making a paste

// ==UserScript==
// @name         Pastebin auto select Unlisted
// @namespace    https://github.com/Alistair1231/my-userscripts/
// @version      0.1.3
// @description  auto selects unlisted when making a paste
// @author       Alistair1231
// @include      https://pastebin.com/edit/*
// @include      https://pastebin.com/clone/*
// @include      https://pastebin.com/
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';
    document.getElementById("postform-status").value=1;
    document.getElementById("select2-postform-status-container").innerHTML="Unlisted";
    // Your code here...
})();