koalastothemax custom image

Custom image url

2024-03-29 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
ia-nah
باھا نومۇرى
0 0 0
نەشرى
1.1.0
قۇرۇلغان ۋاقتى
2024-03-26
يېڭىلانغان ۋاقتى
2024-03-29
Size
927 بايت
ئىجازەتنامىسى
MIT
قوللايدىغىنى

Additional Info for koalastothemax custom image script


Instructions for koalastothemax custom image script

This script allows you to set a custom image URL on koalastothemax.com.

Here's how to use it:

  1. Install a userscript manager extension like Tampermonkey or Greasemonkey in your browser.
  2. Create a new userscript.
  3. Paste the following code into your userscript editor:


// ==UserScript==
// @name         koalastothemax custom image
// @namespace    https://ianah.me
// @version      1.0.0
// @description  Custom image url
// @author       ianah.dev
// @match        *://koalastothemax.com/
// @icon         https://koalastothemax.com/favicon.png
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    document.getElementById('next').style.display = 'block';
    var input = document.querySelector('#next input');
    input.addEventListener('keydown', function(event) {
        if (event.keyCode === 13) {
            var imageUrl = input.value.trim();
            if (/^https?:\/\//i.test(imageUrl)) {
                window.location.href = "http://koalastothemax.com?" + imageUrl;
            } else {
                alert("Ce n'est pas une URL d'image valide. Veuillez entrer une URL commençant par 'http://' ou 'https://'.");
            }
        }
    });
})();
    

Save the userscript.

Now whenever you visit koalastothemax.com, you will see an input box where you can enter the URL of the image you want to display.