Last updated: Thursday, November 06, 2025
Prompt Manager is a Chrome extension designed to help users organize and copy prompts efficiently. We respect your privacy and are committed to protecting your information.
UIA is the way around UIPI ([User Interface Privilege Isolation][1]) which in simple terms is a way of bypassing the security built into Windows to avoid applications interacting with other applications that have a higher integrity level (security).
In other words, when you run a script it cannot communicate with the system or elevated (running as Administrator) processes; this is to avoid insecure and non-sanctioned interactions.
Chrome has the feature to automatically add search engine when it detects an input field on websites. After using Chrome months, it often resutls a bunch of search engines stayed in the settings. And the setting page does not provide a convinient way to remove them.
The editting the Web Data as SQLite file did not seem to work anymore. Chrome seems to revert all the changes when restart.
To make it even worse, it seems that the DOM tree is not accessable from the development console on the setting page, so even a bookmarklet could not work. Neighter does Chrome provide an API to access the search engines.
| #!/bin/bash | |
| set -euo pipefail | |
| trap 'echo "at line $LINENO, exit code $? from $BASH_COMMAND" >&2; exit 1' ERR | |
| # This is a Claude Code hook to stop it saying "you are right". | |
| # | |
| # Installation: | |
| # 1. Save this script and chmod +x it to make it executable. | |
| # 2. Within Claude Code, /hooks / UserPromptSubmit > Add a new hook (this file) | |
| # |
时间:2025-09-12 19:21:36
主题:AI 时代的数据保护与利用、AI+网络安全、隐私计算与数据基础设施、AI 本身的安全治理
| #Requires AutoHotkey v2.0 | |
| #SingleInstance Force | |
| ^+s:: | |
| { | |
| ; Configuration | |
| destFolder := "D:\OneDrive\Documents\Snapshots" | |
| ; Create destination folder if it doesn't exist | |
| if !DirExist(destFolder) { |
| import os | |
| import re | |
| import requests | |
| from urllib.parse import urlparse | |
| def download_file(url, folder): | |
| parsed_url = urlparse(url) | |
| filename = os.path.basename(parsed_url.path) | |
| base, ext = os.path.splitext(filename) |
| # WSL通过Win访问网络,所以WSL的网关指向的是Windows,DNS服务器指向的也是Windows,设置WSL的proxy为win的代理ip+端口即可 | |
| # WSL中的DNS server在/etc/resolv.conf中查看,该文件是由/etc/wsl.conf自动生成的。 | |
| # 如果关闭了wsl.conf中自动生成resolve.conf并自行修改了resolve.conf,DNS nameserver并不是本机win ip | |
| # 需要开启wsl.conf的自动生成,再运行以下命令 | |
| # https://zhuanlan.zhihu.com/p/153124468 | |
| # 添加到环境变量设置中,例如~/.zshrc | |
| export hostip=$(cat /etc/resolv.conf |grep -oP '(?<=nameserver\ ).*') | |
| export https_proxy="http://${hostip}:7890" | |
| export http_proxy="http://${hostip}:7890" |
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| ; #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| #Persistent | |
| #SingleInstance, Force | |
| #NoEnv | |
| #NoTrayIcon | |
| #MaxThreadsPerHotkey 3 | |
| !^z:: | |
| Toggle := !Toggle | |
| Loop | |
| { | |
| If (!Toggle) | |
| Break | |
| Click | |
| Sleep 50 ; Make this number higher for slower clicks, lower for faster. |