Changeset [298f0087d1f531476b5c5977bb743dfc8a1c167b] by Olivier Cornu

August 22nd, 2009 @ 03:31 PM

New (FF3.5+ only) injection logic, Firebug debugger support [#13 state:resolved]

This is a pretty important commit that has impact on several aspects of WM. The original goal was to allow script developers to debug their script using Firebug's debugger [1]. In order to allow this, a new injection logic has been put in place, taking into profit new FF3.5+ evalInSandbox() features [2]. As a consequence:

- support for FF<3.5 is removed
- scripts are no longer wrapped into an anonymous function
- the @unwrap tag thus is deprecated

As a side note, this commit also paves the way for a coming @jsVersion header tag.

[1] http://ocornu.lighthouseapp.com/... [2] https://developer.mozilla.org/en... http://github.com/ocornu/webmonk...

Committed by Olivier Cornu

  • M src/components/webmonkey.js
  • M src/install.rdf
  • M src/modules/script.js
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Webmonkey is a fork of the popular Greasemonkey extension for Firefox.