greasemonkey/greasemonkey — Issue #1504: Adding a @require fails
Author: arantius
Created: 2012-01-26 14:42:49+00:00
State: open

From https://github.com/greasemonkey/greasemonkey/issues/1502#issuecomment-3669642

----

GM icon, little arrow to the right, New User Script..., Some Good Name, Somenamespace, empty description, /path//morepath/,
I get

// ==UserScript==
// @name Some Good Name
// @namespace Somenamespace
// @include */path//morepath/*
// ==/UserScript==

make it look

// ==UserScript==
// @name Some Good Name
// @namespace Somenamespace
// @require http://jquery.com/src/jquery-latest.js
// @include /path//morepath/*
// ==/UserScript==

alert("qwe");

Save, refresh page. Nothing happened. I can see script in list of page scripts on little arrow to the right of GM icon. Restart FF. Script disappears from this list. It still is in folder on disk (name with upper case characters), Config.xml have no records about this script. jquery-latest is not downloaded (in 0.9.14 when it was bugging, it used to be downloaded near Config.xml)
I have just repeated it again, same thing.

----

Confirmed, with error:

Error: this._uri is null
Source File: resource://greasemonkey/remoteScript.js
Line: 374

In GM 0.9.15.