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 Reddit Direct Image Data URL | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Redirect Reddit media wrapper to data URL for native browser image viewing | |
| // @author You | |
| // @match https://www.reddit.com/media* | |
| // @match https://reddit.com/media* | |
| // @grant GM_xmlhttpRequest | |
| // @run-at document-start |
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 Google AI Studio Performance & UX Fixer | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1 | |
| // @description A comprehensive script to fix all major UI/UX issues in AI Studio, including scroll-fighting, content flicker, rendering lag, and edit-scroll bugs. | |
| // @author Diyar Baban | |
| // @match https://aistudio.google.com/prompts/* | |
| // @grant none | |
| // @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
| <?php | |
| class Router | |
| { | |
| protected $_routes; | |
| protected $routeMethods = ['get', 'post']; | |
| public function add($pattern, $callback, $options) { | |
| $pattern = '/' . trim($pattern, '/'); |