On May 13, 6:00 pm, Aaron Boodman <[email protected]> wrote:
> I'm sorry, I don't understand the question. Can you give me a sample
> script you'd like to make work?

Sure. For instance, I create a file myscript.conf.user.js with this
content:


// ==UserScript==
// @name Test
// @description Config file
// @author Charles
// @run-at document-start
// ==/UserScript==

var version="1.0";



Then, I create another file called myscript.user.js  with this
content:


// ==UserScript==
// @name Test
// @description Test file
// @author Charles
// @run-at document-start
// ==/UserScript==

alert(version);



I put both files in my user script directory and I restart my browser.
It works in Opera but not in Chrome.
Thanks,

Charles.
--~--~---------~--~----~------------~-------~--~----~
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to