Created
January 5, 2026 08:58
-
-
Save maanimis/30be38cd8ec67125d5332da546f63d9f to your computer and use it in GitHub Desktop.
auto click-active orders
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name priv8-nobitex | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2026-01-05 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://nobitex.ir/panel/exchange/position/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=nobitex.ir | |
| // @grant none | |
| // @require https://update.greasyfork.org/scripts/561472/1727895/findElementsBySelectorAndTextContains.js | |
| // @require https://update.greasyfork.org/scripts/528234/1701531/waitForElement.js | |
| // @run-at document-end | |
| // ==/UserScript== | |
| (async function () { | |
| "use strict"; | |
| await waitForElement("div#current-orders-container", 0); | |
| const elm = await findElementsBySelectorAndTextContains( | |
| "button", | |
| "موقعیتهای باز" | |
| )[0]; | |
| console.log("[userscript]:", elm); | |
| setTimeout(() => { | |
| elm.click(); | |
| }, 3_000); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment