English 中文(简体)
Chrome在mac上的何处存储userscripts.user.js文件?
原标题:Where does Chrome store userscripts.user.js files on a mac?

我想知道chrome将安装的用户脚本存储在哪里。

我在别处找不到任何答案。

我在mac上。

最佳回答

Finding the extension ID

如果您有许多用户脚本,我们将需要为下一步找到用户脚本的扩展ID。转到chrome://extensions/在地址栏中,或导航到扳手图标,然后选择“工具”->;扩展。

在每个扩展下,您将看到一个类似于ID:inoibihbncppenbmllpjoonoaadechdng的条目。这是扩展ID。找到你的脚本,观察ID。

这些用户脚本通常存储在:

~/库/应用程序支持/谷歌/Chrome/默认/扩展

如果此路径有意义,您可以跳过下一节。否则,请按照以下内容获取更详细的说明。

Finding your Extensions folder

转到您的用户文件夹。您可以打开Finder,然后转到转到->;家然后我们要导航到库/应用程序支持/谷歌/Chrome/

如果你没有使用多个Chrome配置文件,此时你应该可以转到默认/扩展/

Extension layout

每个扩展都将在一个文件夹中,以其扩展ID命名。在这个文件夹中,我们将有一个版本号,然后是任何元数据文件。在最新版本的Chrome中,用户脚本将至少有一个script.js文件和manifest.json。您正在寻找包含实际Javascript的script.js

问题回答

暂无回答




相关问题
2 mysql instances in MAC

i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql connectivity, i "somehow" ended up installing a seperate MySQL. now the seperate mysql installation is ...

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Controlling OSX windows

I m trying to control windows of a foreign OSX applications from my application. I d like to 1. move the windows on the screen 2. resize the windows on the screen 3. change the currently active window ...

Switching J2SE versions on Mac OS (SnowLeopard)

My current JDK on Mac OS (10.6) is set to 1.6 and I d like to switch to 1.5. A listing of /System/Library/Frameworks/JavaVM.framework/Versions/ shows: lrwxr-xr-x 1 root wheel 10 Nov 3 18:34 ...

Scrolling inside Vim in Mac s Terminal

I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...

export to MP3 from quicktime API

A question for Apple,QT programmers. Would like to know if it s possible to export a Movie object to MP3 using the QuickTime API. Preferably the ConvertMovieToFile function. I ve looked at ...

热门标签