Pastebin auto select Unlisted

auto selects unlisted when making a paste

  1. // ==UserScript==
  2. // @name Pastebin auto select Unlisted
  3. // @namespace https://github.com/Alistair1231/my-userscripts/
  4. // @version 0.1.3
  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. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15. document.getElementById("postform-status").value=1;
  16. document.getElementById("select2-postform-status-container").innerHTML="Unlisted";
  17. // Your code here...
  18. })();