Changeset 645
- Timestamp:
- 01/21/08 14:00:41 (11 months ago)
- Files:
-
- trunk/src/chrome/chromeFiles/content/miscapis.js (modified) (1 diff)
- trunk/src/components/greasemonkey.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/chrome/chromeFiles/content/miscapis.js
r628 r645 81 81 82 82 GM_ScriptLogger.prototype.log = function(message) { 83 if (!GM_apiLeakCheck("GM_log")) {84 return;85 }86 87 83 GM_log(this.prefix + message, true); 88 84 }; trunk/src/components/greasemonkey.js
r631 r645 342 342 registerMenuCommand: function(unsafeContentWin, commandName, commandFunc, 343 343 accelKey, accelModifiers, accessKey) { 344 if (!GM_apiLeakCheck("GM_registerMenuCommand")) {345 return;346 }347 348 344 var command = {name: commandName, 349 345 accelKey: accelKey, … … 359 355 360 356 openInTab: function(unsafeContentWin, url) { 361 if (!GM_apiLeakCheck("GM_openInTab")) {362 return;363 }364 365 357 var unsafeTop = new XPCNativeWrapper(unsafeContentWin, "top").top; 366 358
