Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScriptDownloader is not defined + patch #1091

Closed
Lekensteyn opened this issue Mar 24, 2010 · 1 comment
Closed

ScriptDownloader is not defined + patch #1091

Lekensteyn opened this issue Mar 24, 2010 · 1 comment
Milestone

Comments

@Lekensteyn
Copy link
Contributor

When choosing "View User Script source" from a context menu (on .user.js URL's) I get a "ScriptDownload is not defined".
The following change in content/browser.js fixed it for me:

GM_BrowserUI.viewContextItemClicked = function() {
 var uri = GM_BrowserUI.getUserScriptLinkUnderPointer();

  //ScriptDownload was undefined, using GM_ScriptDownload instead
  this.scriptDownloader_ = new GM_ScriptDownloader(window, uri, this.bundle);
  this.scriptDownloader_.startViewScript();
};
@arantius
Copy link
Collaborator

arantius commented Apr 2, 2010

commit f74cc5d

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants