我想直接编辑用户脚本,而不是使用hokey浏览器内编辑器。
解决方案Tampermonkey脚本非常容易通过Tampermonkey选项卡进行更新。请参阅 Tampermonkey常见问题,或者试试。
Tampermonkey脚本存储在特殊的SQLite数据库中,并且不能直接以文件格式编辑。 更新: 3.5.3630版本,Tampermonkey脚本现在使用Chrome的扩展存储进行存储。它们仍然不能以文件形式编辑,但Tampermonkey(derjanb)的开发人员已经帮助将Python脚本提取它们。
Chrome 使用者脚本 (与Chrome和Chromium浏览器不同,存储如下所示:
Windows XP: Chrome: %AppData%\\\\ Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\ Chromium:%AppData%\..\ Local Settings \ Application Data\Chromium\User Data\Default\Extensions\ Windows Vista / 7/8: Chrome:%LocalAppData%\Google\Chrome\\ \\ User Data \Default\Extensions\ Chromium:%LocalAppData%\ Chromium\User Data\Default\Extensions\ Linux: Chrome:〜/ .config / google-chrome / Default / Extensions / Chromium:〜/ .config / chromium / Default / Extensions / Mac OS X: Chrome: 〜/ Library / Application Support / Google / Chrome / Default / Extensions / Chromium:〜/ Library / Application Support / Chromium / Default / Extensions /请参阅此答案或此Google网上论坛主题。 请注意,Chrome浏览器用户标记会自动生成Chrome扩展程序与自动生成的清单。
然而:
Where are Chrome/Tampermonkey userscripts stored on the filesystem?
I want to edit user scripts directly instead of using the hokey in-browser editor.
解决方案Tampermonkey scripts are super easy to update via the Tampermonkey tab. See the Tampermonkey FAQ, or just try it.
Tampermonkey scripts were stored in a special SQLite database and were/are not directly editable in file form. Update: As of version 3.5.3630, Tampermonkey scripts are now stored using Chrome's extension storage. They are still not editable in file form, but the developer of Tampermonkey (derjanb) has helpfully made a Python script to extract them.
Chrome Userscripts (not the same as Tampermonkey scripts) are stored as follows, for the Chrome and Chromium browsers:
Windows XP: Chrome : %AppData%\..\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\ Chromium: %AppData%\..\Local Settings\Application Data\Chromium\User Data\Default\Extensions\ Windows Vista/7/8: Chrome : %LocalAppData%\Google\Chrome\User Data\Default\Extensions\ Chromium: %LocalAppData%\Chromium\User Data\Default\Extensions\ Linux: Chrome : ~/.config/google-chrome/Default/Extensions/ Chromium: ~/.config/chromium/Default/Extensions/ Mac OS X: Chrome : ~/Library/Application Support/Google/Chrome/Default/Extensions/ Chromium: ~/Library/Application Support/Chromium/Default/Extensions/See this answer or this Google Groups thread. Note that Chrome userscripts are automatically made into Chrome extensions with an auto-generated manifest.
However:
更多推荐
Chrome / Tampermonkey userscripts在文件系统中存储在哪里?
发布评论