Rentry - Autofill Edit Code

It worked like this ages ago before vía cookies. No idea why they changed that.

  1. // ==UserScript==
  2. // @name Rentry - Autofill Edit Code
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-12-30
  5. // @description It worked like this ages ago before vía cookies. No idea why they changed that.
  6. // @author Guess
  7. // @match https://rentry.org/*/edit
  8. // @match https://rentry.co/*/edit
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=rentry.org
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. // Plz specify your edit code here:
  17. const YOUR_EDIT_CODE = "Enter ur code here";
  18. const editCodeInput = document.getElementById("id_edit_code");
  19. editCodeInput.value = YOUR_EDIT_CODE;
  20. })();