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
const xPath = { | |
content: | |
"/html/body/div[1]/div/div/div[2]/main/div/div/div/div/div/section/div/div/div[1]/div/div/article/div/div/div[3]/div[1]", | |
postDate: | |
"/html/body/div[1]/div/div/div[2]/main/div/div/div/div/div/section/div/div/div[1]/div/div/article/div/div/div[3]/div[last()-1]", | |
createDate: | |
"/html/body/div[1]/div/div/div[2]/main/div/div/div/div/div/div[3]/div/div/div/div/div[4]/div/span[3]/span", | |
}; | |
const key = "priv8"; | |
const link = location.href; |
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 chess.com | |
// @namespace Violentmonkey Scripts | |
// @match https://www.chess.com/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 9/15/2023, 2:44:06 PM | |
// ==/UserScript== |
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 soundcloud.com | |
// @namespace Violentmonkey Scripts | |
// @match https://soundcloud.com/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 1/22/2024, 2:01:13 PM | |
// ==/UserScript== |
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 tradingview.com | |
// @namespace Violentmonkey Scripts | |
// @match https://www.tradingview.com/chart/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description 12/26/2023, 6:05:47 PM | |
// ==/UserScript== |
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 GitHub Creation Date | |
// @namespace Violentmonkey Scripts | |
// @match https://github.com/*/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description Displays the creation date of a GitHub repository when clicked. | |
// @run-at document-end | |
// @license MIT |
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 chatgpt-rtl-toggle | |
// @namespace Violentmonkey Scripts | |
// @match https://chatgpt.com/*/* | |
// @grant none | |
// @version 1.0 | |
// @author - | |
// @description enabling RTL (Right-To-Left) text direction toggle | |
// @run-at document-end | |
// @license MIT |
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
const TOKEN = "TOKEN"; | |
const WEBHOOK_PATH = "/channelListener"; | |
const SECRET = "YOUR_BOT_SECRET"; | |
const CHANNEL_NUMBER_ID = -11111111111111111; | |
const CHANNEL_USERNAME = "@USERNAME"; | |
addEventListener("fetch", (event) => { | |
const url = new URL(event.request.url); | |
const routeHandlers = { |
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 Reconnecting WebSocket-territorial.io | |
// @namespace Violentmonkey Scripts | |
// @match https://territorial.io/* | |
// @grant none | |
// @version 3.2 | |
// @description Reconnecting WebSocket for territorial.io with improved stability. | |
// @run-at document-start | |
// ==/UserScript== |
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 enable-copy-telegram | |
// @namespace Violentmonkey Scripts | |
// @match https://web.telegram.org/* | |
// @grant none | |
// @version 1.0 | |
// @run-at document-end | |
// @author maanimis | |
// @description Enable copying text on Telegram Web | |
// @license MIT |
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
export default { | |
fetch: async (request) => { | |
try { | |
const requestData = await request.json(); | |
const chatMember = requestData?.chat_member; | |
const oldStatus = chatMember?.old_chat_member?.status; | |
const newStatus = chatMember?.new_chat_member?.status; | |
if (oldStatus === "member" && newStatus === "left") { |
OlderNewer