黑暗模式下,最难忍受启动白屏: chrome,edge,vscode,github desktop,这些浏览器/electron应用……
终极方案 : 启动时注入 dll ,劫持 createWindow, 或将窗口隐藏,或将白色设置为透明色,或显示一个黑色半透明遮罩。
劫持 createWindow,将白色设置为透明色即可。
now ine|egrated in Godot-Editor-Console: Editor Console Input Plugin for godot to run simple script and watch output
CheCk material : will wach changes in shader paramters
your_script.gd :
@tool
后来又发现immersive推荐的 kt 翻译器,他的面板更好,还能查词。
https://github.com/fishjar/kiss-translator
而且,开启kt翻译器的csp规则,还能绕过github对于跨域iframe的限制。
Workaround for Desktop / Allow the repository list to be expanded all the time
How to use :
It will toggle the pinning state of repository list view.
When the list view is pinned, it's styles are modified to make it non-modal and always visible.
| global click_state := 0 | |
| global leftDwn := 0 | |
| GroupAdd, browser_gp, ahk_exe chrome.exe | |
| Acc_Init(Function := "") { | |
| Static h | |
| If Not h | |
| h:=DllCall("LoadLibrary","Str","oleacc","Ptr") | |
| If Function |
| #NoEnv | |
| #MaxThreadsPerHotkey 2 | |
| #SingleInstance Force | |
| ; 安装需求: https://github.com/telppa/PaddleOCR-AutoHotkey | |
| ; getSelectionCoords 改自社区脚本。 纯英文可用 Capture2Text | |
| F2:: | |
| ;^Q:: |
| // ==UserScript== | |
| // @name 小说守护神 | |
| // @namespace https://gist.github.com/KnIfER | |
| // @description 首次访问小说网站时,自动开启以下两项设置:-- ①禁止跨域跳转 -- ② 自动开启无图模式 | |
| // @version 1 | |
| // @match *://*/* | |
| // @run-at document-start | |
| // @run-at document-end | |
| // @grant GM_blockImage | |
| // @grant GM_blockCorsJump |
| #IfWinActive ahk_exe chrome.exe | |
| $MButton:: | |
| MouseGetPos, xpos, ypos | |
| WinGetPos,x,y,w,h | |
| if (xpos<w && xpos >= w-30 && ypos>0 && ypos<h) { | |
| global tmp:=1 | |
| Send +{LButton down} | |
| } | |
| else MouseClick, M |