Pastebin auto select Unlisted

auto selects unlisted when making a paste

As of 2021-04-30. See the latest version.

  1. // ==UserScript==
  2. // @name Pastebin auto select Unlisted
  3. // @namespace https://greatest.deepsurf.us/en/users/12725-alistair1231
  4. // @version 0.1
  5. // @description auto selects unlisted when making a paste
  6. // @author Alistair1231
  7. // @include https://pastebin.com/edit/*
  8. // @include https://pastebin.com/clone/*
  9. // @include https://pastebin.com/
  10. // @grant none
  11. // @license GPL-3.0
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. document.getElementById("postform-status").value=1;
  17. document.getElementById("select2-postform-status-container").innerHTML="Unlisted";
  18. // Your code here...
  19. })();