I am following Mohamed Mansour's directions from this reference to enable user scripts in Google Chrome. But I can't seem to get them working, and I am sure I am missing something obvious.
Specifically:
- I updated the Chrome shortcut with the
--enable-user-scriptsoption. - I created the a test script (below) in
C:\Users\zoredache\AppData\Local\Google\Chrome\User Data\Default\User Scriptscalledtest.user.js. - I killed all existing Chrome processes and restarted.
test.user.js
// ==UserScript==
// @name Test Script
// @include *
// ==/UserScript=
alert("Hello World!");
I am running Chrome 5.0.375.127 on the 64 bit version Windows 7 Professional.
I believe I have completely followed the directions, but the alert() is never displayed when I try to visit pages.
So what do I have to do to enable user scripts in Chrome? What step am I missing?
test.user.js. – Zoredache Aug 30 '10 at 20:53