Greasy Fork is available in English.

Sploop Console

As you already know, in sploop.io the console is no longer working, or rather, the output to the console. Perhaps you would like to continue using it? If yes, then use this script.

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/444624/1048083/Sploop%20Console.js

ผู้เขียน
Nudo
เวอร์ชัน
1
สร้างเมื่อ
07-05-2022
อัปเดตเมื่อ
07-05-2022
สัญญาอนุญาต
MIT

Hello!

To add a console to your script, add to //==UserScript== this:

// @require https://greasyfork.org/scripts/444624-sploop-console/code/Sploop%20Console.js?version=1048078


The console link should be created after jQuery!

It should turn out something like this:

// ==UserScript==
// @name New Userscript
// @version 0.1
// @description -
// @author author
// @match http://*/*
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js
// @require https://greasyfork.org/scripts/444624-sploop-console/code/Sploop%20Console.js?version=1048078
// ==/UserScript==


When using this script, I ask you to connect the jQuery library!

// @require http://code.jquery.com/jquery-3.3.1.min.js
// @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js


To open the console, press F9

This console cannot replicate all the functions of the Chrome console, but I will try to do my best!

To add text to the console, enter:

console.log("Title", "Description", "Color")
console.log("Test", "It worked!")
console.log("Test", "It worked!", "blue")


Errors will be highlighted in red and they cannot be changed color

console.error("Title", "Description")
console.error("Test", "It didn't work!")


You can also add an array or an object to the console
But it doesn't work if you add an object to the array [{x:2}]

console.log("Title", "Array/Object", "Color")
console.log("Test", [0, 0, 1, 1, 1, 0], "blue")
console.log("Test", { x: 0, y: 0 }, "blue")


I'll do an update later