This file contains 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 { | |
aceVimMap, | |
mapkey, | |
imap, | |
imapkey, | |
getClickableElements, | |
vmapkey, | |
map, | |
unmap, | |
cmap, |
This file contains 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
unmapAll | |
iunmapAll | |
imap <C-j> forwardLine | |
imap <C-k> backwardLine | |
imap <C-h> backwardWord | |
imap <C-l> forwardWord | |
imap <C-S-l> forwardChar | |
imap <C-S-h> backwardChar | |
imap <C-S-j> beginningOfLine | |
imap <C-S-k> endOfLine |
This file contains 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
Visual.style("cursor", ` | |
background-color: rgba(127, 225, 254); | |
pointer-events: none; | |
height: 1em; | |
z-index: 999; | |
`); | |
Visual.style("marks", ` | |
margin-top: 1em; | |
background-color: aquamarine; | |
pointer-events: none; |
This file contains 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
proxy-groups: | |
- | |
name: '🔯 故障转移' | |
type: url-test |
This file contains 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 Better Regex101 Cheatsheet | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Show the cheatsheet of RegExr on regex101 | |
// @author You | |
// @match https://regex101.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=regex101.com | |
// @grant none | |
// @run-at document-idle |
This file contains 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 Query String Automator | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Automation based on query string. Example: https://www.google.com/?uauto={selector:".RNmpXc",action:"this.click()"} | |
// @author You | |
// @match *://*/*?uauto=* | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
This file contains 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
# $ScriptPath: The path to the ps1 script. It could be either relative or absolute. | |
# A shortcut will be created in the working directory, named after the ps1 script | |
param ( [string]$ScriptPath ) | |
if ("" -ne $ScriptPath){ | |
$LnkPath = $ScriptPath.Split("\")[-1].Split(".")[0] + ".lnk" | |
$WshShell = New-Object -comObject WScript.Shell | |
$Shortcut = $WshShell.CreateShortcut($LnkPath) | |
$Shortcut.TargetPath = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" | |
$Shortcut.WorkingDirectory = $ScriptPath.Split("\")[0..($ScriptPath.Split("\").Length-2)] -join "\" | |
$Shortcut.Arguments = $ScriptPath |
This file contains 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 Spotify 跳转至豆瓣 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.4 | |
// @description 在 Spotify 的专辑菜单中新增“转至豆瓣”按钮。Quickly navigate to Douban from Spotify. | |
// @author You | |
// @match open.spotify.com/* | |
// @match spotify.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=spotify.com | |
// @run-at document-idle |
This file contains 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 豆瓣:跳转至串流 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.25 | |
// @description 在豆瓣专辑界面添加跳转至 Spotify,QQ音乐,网易云音乐的按钮 | |
// @author You | |
// @include /^https?:\/\/music\.douban\.com\/subject\/[0-9]+\/[^\/]*$/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=douban.com | |
// @grant none | |
// @run-at document-idle |
This file contains 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
/* ==UserStyle== | |
@name simpread style: 柔焦 | |
@namespace simpread.pro | |
@version 0.1.0 | |
@description 柔焦 style for simpread | |
@author JohnnRen | |
==/UserStyle== */ | |
@-moz-document regexp("http[s]://.*") { | |
sr-rd-content * { |
OlderNewer