I've installed outfox on, and tested it with the various test pages
and it works fine, reading out the words as expected.... but now Im
trying to include it in a Greasemonkey script.
It doesnt seem to get picked up properly - I'm using the following
lines:
... this is at the point where I'm calling the outfox.init function.
The fact it knows about this object type suggests that it;s picked up
the outfox js file correctly I think?
How do i include outfox correctly, does anyone havve a short sample
script i could use that just initialises on the page loading and says
a few words?
> I've installed outfox on, and tested it with the various test pages
> and it works fine, reading out the words as expected.... but now Im
> trying to include it in a Greasemonkey script.
> It doesnt seem to get picked up properly - I'm using the following
> lines:
> I've now also tried using http://www.cs.unc.edu/Research/assist/outfox/app/js/outfox.js > and http://outfox.googlecode.com/svn/trunk/js/outfox.js but no luck -
> it gives an unusual error saying that "outfox.Deferred is not a
> constructor"
> Source File:
> file:///C:/Documents%20and%20Settings/<...>/Application%20Data/Mozilla/Fire fox/Profiles/zscyer1e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba 24781%7D/components/greasemonkey.js
> Line: 839
> ... this is at the point where I'm calling the outfox.init function.
> The fact it knows about this object type suggests that it;s picked up
> the outfox js file correctly I think?
> How do i include outfox correctly, does anyone havve a short sample
> script i could use that just initialises on the page loading and says
> a few words?
Yep thats the exact script that led me to find Outfox in the first
place :) . Unfortunately it is for Outfox v 0.1 and doesnt seem to do
anything when installed with the current version.... I tried modifying
that code to suit the current version, replacing the outfox.init
method etc but the results in the original post were what i ended up
with.
Regards
Haroon
On Jun 17, 5:38 pm, Gary Bishop <g...@cs.unc.edu> wrote:
> > I've installed outfox on, and tested it with the various test pages
> > and it works fine, reading out the words as expected.... but now Im
> > trying to include it in a Greasemonkey script.
> > It doesnt seem to get picked up properly - I'm using the following
> > lines:
> > I've now also tried usinghttp://www.cs.unc.edu/Research/assist/outfox/app/js/outfox.js > > andhttp://outfox.googlecode.com/svn/trunk/js/outfox.jsbut no luck -
> > it gives an unusual error saying that "outfox.Deferred is not a
> > constructor"
> > Source File:
> > file:///C:/Documents%20and%20Settings/<...>/Application%20Data/Mozilla/Fire fox/Profiles/zscyer1e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba 24781%7D/components/greasemonkey.js
> > Line: 839
> > ... this is at the point where I'm calling the outfox.init function.
> > The fact it knows about this object type suggests that it;s picked up
> > the outfox js file correctly I think?
> > How do i include outfox correctly, does anyone havve a short sample
> > script i could use that just initialises on the page loading and says
> > a few words?
> Yep thats the exact script that led me to find Outfox in the first
> place :) . Unfortunately it is for Outfox v 0.1 and doesnt seem to do
> anything when installed with the current version.... I tried modifying
> that code to suit the current version, replacing the outfox.init
> method etc but the results in the original post were what i ended up
> with.
> Regards
> Haroon
> On Jun 17, 5:38 pm, Gary Bishop <g...@cs.unc.edu> wrote:
> > > I've installed outfox on, and tested it with the various test pages
> > > and it works fine, reading out the words as expected.... but now Im
> > > trying to include it in a Greasemonkey script.
> > > It doesnt seem to get picked up properly - I'm using the following
> > > lines:
> > > I've now also tried usinghttp://www.cs.unc.edu/Research/assist/outfox/app/js/outfox.js > > > andhttp://outfox.googlecode.com/svn/trunk/js/outfox.jsbutno luck -
> > > it gives an unusual error saying that "outfox.Deferred is not a
> > > constructor"
> > > Source File:
> > > file:///C:/Documents%20and%20Settings/<...>/Application%20Data/Mozilla/Fire fox/Profiles/zscyer1e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba 24781%7D/components/greasemonkey.js
> > > Line: 839
> > > ... this is at the point where I'm calling the outfox.init function.
> > > The fact it knows about this object type suggests that it;s picked up
> > > the outfox js file correctly I think?
> > > How do i include outfox correctly, does anyone havve a short sample
> > > script i could use that just initialises on the page loading and says
> > > a few words?
Fantastic! If I can be of any help do let me know... in fact your
original script was close to the functionality i was looking for also
- I just wanted an alert when a new message arrived for a specific
label. However most gmail notification tools only watch the inbox, and
as I have tab open in FFox somewhere anyway I've used a popup message
(alert box) for now. Having Outfox read out the message subject/sender
etc would be ideal :)
Take care
Haroon
On Jun 22, 2:08 am, Peter Parente <pare...@gmail.com> wrote:
> I'm working on a simpler example for using GM and Outfox right now.
> I'll post again when it's available on my blog.
> Thanks,
> Pete
> On Jun 17, 1:55 pm, Runes <haroon...@gmail.com> wrote:
> > Hi Gary,
> > Yep thats the exact script that led me to find Outfox in the first
> > place :) . Unfortunately it is for Outfox v 0.1 and doesnt seem to do
> > anything when installed with the current version.... I tried modifying
> > that code to suit the current version, replacing the outfox.init
> > method etc but the results in the original post were what i ended up
> > with.
> > Regards
> > Haroon
> > On Jun 17, 5:38 pm, Gary Bishop <g...@cs.unc.edu> wrote:
> > > > I've installed outfox on, and tested it with the various test pages
> > > > and it works fine, reading out the words as expected.... but now Im
> > > > trying to include it in a Greasemonkey script.
> > > > It doesnt seem to get picked up properly - I'm using the following
> > > > lines:
> > > > I've now also tried usinghttp://www.cs.unc.edu/Research/assist/outfox/app/js/outfox.js > > > > andhttp://outfox.googlecode.com/svn/trunk/js/outfox.jsbutnoluck -
> > > > it gives an unusual error saying that "outfox.Deferred is not a
> > > > constructor"
> > > > Source File:
> > > > file:///C:/Documents%20and%20Settings/<...>/Application%20Data/Mozilla/Fire fox/Profiles/zscyer1e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba 24781%7D/components/greasemonkey.js
> > > > Line: 839
> > > > ... this is at the point where I'm calling the outfox.init function.
> > > > The fact it knows about this object type suggests that it;s picked up
> > > > the outfox js file correctly I think?
> > > > How do i include outfox correctly, does anyone havve a short sample
> > > > script i could use that just initialises on the page loading and says
> > > > a few words?
Well, it looks like there's a problem in the 0.3.x version of the
Outfox JS where it is using outfox.utils.declare to create an object
attached to the window object. But in a GM script, the window object
isn't the raw window object. I tried the @unwrap GM option, but it
doesn't seem to help.
I'm filing a bug against Outfox to get this fixed.
On Jun 22, 9:23 am, Runes <haroon...@gmail.com> wrote:
> Fantastic! If I can be of any help do let me know... in fact your
> original script was close to the functionality i was looking for also
> - I just wanted an alert when a new message arrived for a specific
> label. However most gmail notification tools only watch the inbox, and
> as I have tab open in FFox somewhere anyway I've used a popup message
> (alert box) for now. Having Outfox read out the message subject/sender
> etc would be ideal :)
> Take care
> Haroon
> On Jun 22, 2:08 am, Peter Parente <pare...@gmail.com> wrote:
> > Hi Haroon,
> > I'm working on a simpler example for using GM and Outfox right now.
> > I'll post again when it's available on my blog.
> > Thanks,
> > Pete
> > On Jun 17, 1:55 pm, Runes <haroon...@gmail.com> wrote:
> > > Hi Gary,
> > > Yep thats the exact script that led me to find Outfox in the first
> > > place :) . Unfortunately it is for Outfox v 0.1 and doesnt seem to do
> > > anything when installed with the current version.... I tried modifying
> > > that code to suit the current version, replacing the outfox.init
> > > method etc but the results in the original post were what i ended up
> > > with.
> > > Regards
> > > Haroon
> > > On Jun 17, 5:38 pm, Gary Bishop <g...@cs.unc.edu> wrote:
> > > > > I've installed outfox on, and tested it with the various test pages
> > > > > and it works fine, reading out the words as expected.... but now Im
> > > > > trying to include it in a Greasemonkey script.
> > > > > It doesnt seem to get picked up properly - I'm using the following
> > > > > lines:
> > > > > I've now also tried usinghttp://www.cs.unc.edu/Research/assist/outfox/app/js/outfox.js > > > > > andhttp://outfox.googlecode.com/svn/trunk/js/outfox.jsbutnoluck- > > > > > it gives an unusual error saying that "outfox.Deferred is not a
> > > > > constructor"
> > > > > Source File:
> > > > > file:///C:/Documents%20and%20Settings/<...>/Application%20Data/Mozilla/Fire fox/Profiles/zscyer1e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba 24781%7D/components/greasemonkey.js
> > > > > Line: 839
> > > > > ... this is at the point where I'm calling the outfox.init function.
> > > > > The fact it knows about this object type suggests that it;s picked up
> > > > > the outfox js file correctly I think?
> > > > > How do i include outfox correctly, does anyone havve a short sample
> > > > > script i could use that just initialises on the page loading and says
> > > > > a few words?
We've fixed the Greasemonkey compatibility problems in Outfox 0.3.5.
You should be able to load Outfox and start its services in the
Greasemonkey sandbox now.
Good luck!
On Jun 22, 9:22 pm, Peter Parente <pare...@gmail.com> wrote:
> Well, it looks like there's a problem in the 0.3.x version of the
> Outfox JS where it is using outfox.utils.declare to create an object
> attached to the window object. But in a GM script, the window object
> isn't the raw window object. I tried the @unwrap GM option, but it
> doesn't seem to help.
> I'm filing a bug against Outfox to get this fixed.
> On Jun 22, 9:23 am, Runes <haroon...@gmail.com> wrote:
> > Hi Pete,
> > Fantastic! If I can be of any help do let me know... in fact your
> > original script was close to the functionality i was looking for also
> > - I just wanted an alert when a new message arrived for a specific
> > label. However most gmail notification tools only watch the inbox, and
> > as I have tab open in FFox somewhere anyway I've used a popup message
> > (alert box) for now. Having Outfox read out the message subject/sender
> > etc would be ideal :)
> > Take care
> > Haroon
> > On Jun 22, 2:08 am, Peter Parente <pare...@gmail.com> wrote:
> > > Hi Haroon,
> > > I'm working on a simpler example for using GM and Outfox right now.
> > > I'll post again when it's available on my blog.
> > > Thanks,
> > > Pete
> > > On Jun 17, 1:55 pm, Runes <haroon...@gmail.com> wrote:
> > > > Hi Gary,
> > > > Yep thats the exact script that led me to find Outfox in the first
> > > > place :) . Unfortunately it is for Outfox v 0.1 and doesnt seem to do
> > > > anything when installed with the current version.... I tried modifying
> > > > that code to suit the current version, replacing the outfox.init
> > > > method etc but the results in the original post were what i ended up
> > > > with.
> > > > Regards
> > > > Haroon
> > > > On Jun 17, 5:38 pm, Gary Bishop <g...@cs.unc.edu> wrote:
> > > > > > I've installed outfox on, and tested it with the various test pages
> > > > > > and it works fine, reading out the words as expected.... but now Im
> > > > > > trying to include it in a Greasemonkey script.
> > > > > > It doesnt seem to get picked up properly - I'm using the following
> > > > > > lines:
> > > > > > I've now also tried usinghttp://www.cs.unc.edu/Research/assist/outfox/app/js/outfox.js > > > > > > andhttp://outfox.googlecode.com/svn/trunk/js/outfox.jsbutnoluck- > > > > > > it gives an unusual error saying that "outfox.Deferred is not a
> > > > > > constructor"
> > > > > > Source File:
> > > > > > file:///C:/Documents%20and%20Settings/<...>/Application%20Data/Mozilla/Fire fox/Profiles/zscyer1e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba 24781%7D/components/greasemonkey.js
> > > > > > Line: 839
> > > > > > ... this is at the point where I'm calling the outfox.init function.
> > > > > > The fact it knows about this object type suggests that it;s picked up
> > > > > > the outfox js file correctly I think?
> > > > > > How do i include outfox correctly, does anyone havve a short sample
> > > > > > script i could use that just initialises on the page loading and says
> > > > > > a few words?
> We've fixed the Greasemonkey compatibility problems in Outfox 0.3.5.
> You should be able to load Outfox and start its services in the
> Greasemonkey sandbox now.
> Good luck!
> On Jun 22, 9:22 pm, Peter Parente <pare...@gmail.com> wrote:
> > Well, it looks like there's a problem in the 0.3.x version of the
> > Outfox JS where it is using outfox.utils.declare to create an object
> > attached to the window object. But in a GM script, the window object
> > isn't the raw window object. I tried the @unwrap GM option, but it
> > doesn't seem to help.
> > I'm filing a bug against Outfox to get this fixed.
> > On Jun 22, 9:23 am, Runes <haroon...@gmail.com> wrote:
> > > Hi Pete,
> > > Fantastic! If I can be of any help do let me know... in fact your
> > > original script was close to the functionality i was looking for also
> > > - I just wanted an alert when a new message arrived for a specific
> > > label. However most gmail notification tools only watch the inbox, and
> > > as I have tab open in FFox somewhere anyway I've used a popup message
> > > (alert box) for now. Having Outfox read out the message subject/sender
> > > etc would be ideal :)
> > > Take care
> > > Haroon
> > > On Jun 22, 2:08 am, Peter Parente <pare...@gmail.com> wrote:
> > > > Hi Haroon,
> > > > I'm working on a simpler example for using GM and Outfox right now.
> > > > I'll post again when it's available on my blog.
> > > > Thanks,
> > > > Pete
> > > > On Jun 17, 1:55 pm, Runes <haroon...@gmail.com> wrote:
> > > > > Hi Gary,
> > > > > Yep thats the exact script that led me to find Outfox in the first
> > > > > place :) . Unfortunately it is for Outfox v 0.1 and doesnt seem to do
> > > > > anything when installed with the current version.... I tried modifying
> > > > > that code to suit the current version, replacing the outfox.init
> > > > > method etc but the results in the original post were what i ended up
> > > > > with.
> > > > > Regards
> > > > > Haroon
> > > > > On Jun 17, 5:38 pm, Gary Bishop <g...@cs.unc.edu> wrote:
> > > > > > > I've installed outfox on, and tested it with the various test pages
> > > > > > > and it works fine, reading out the words as expected.... but now Im
> > > > > > > trying to include it in a Greasemonkey script.
> > > > > > > It doesnt seem to get picked up properly - I'm using the following
> > > > > > > lines:
> > > > > > > I've now also tried usinghttp://www.cs.unc.edu/Research/assist/outfox/app/js/outfox.js > > > > > > > andhttp://outfox.googlecode.com/svn/trunk/js/outfox.jsbutnoluck- > > > > > > > it gives an unusual error saying that "outfox.Deferred is not a
> > > > > > > constructor"
> > > > > > > Source File:
> > > > > > > file:///C:/Documents%20and%20Settings/<...>/Application%20Data/Mozilla/Fire fox/Profiles/zscyer1e.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba 24781%7D/components/greasemonkey.js
> > > > > > > Line: 839
> > > > > > > ... this is at the point where I'm calling the outfox.init function.
> > > > > > > The fact it knows about this object type suggests that it;s picked up
> > > > > > > the outfox js file correctly I think?
> > > > > > > How do i include outfox correctly, does anyone havve a short sample
> > > > > > > script i could use that just initialises on the page loading and says
> > > > > > > a few words?
That was all pretty quick! I was trawling the OF site and discussion
and trying trial and error before to try and get OF working with
Greasemonkey... thought I must be making the wrong calls.
Your example works perfectly with Wikipedia - the main trouble I was
having before was extracting the appropriate objects from the Gmail
thread list view, couldn't get them to output to GM_log even. I've
tried several similar scripts and help but still seem unable to
navigate to and find the threadlist table in order to manipulate it.
Was there a guide you used or a methodology to do so that might help?
On Jun 25, 3:40 am, Peter Parente <pare...@gmail.com> wrote:
> > We've fixed the Greasemonkey compatibility problems in Outfox 0.3.5.
> > You should be able to load Outfox and start its services in the
> > Greasemonkey sandbox now.
> > Good luck!
> > On Jun 22, 9:22 pm, Peter Parente <pare...@gmail.com> wrote:
> > > Well, it looks like there's a problem in the 0.3.x version of the
> > > Outfox JS where it is using outfox.utils.declare to create an object
> > > attached to the window object. But in a GM script, the window object
> > > isn't the raw window object. I tried the @unwrap GM option, but it
> > > doesn't seem to help.
> > > I'm filing a bug against Outfox to get this fixed.
> > > On Jun 22, 9:23 am, Runes <haroon...@gmail.com> wrote:
> > > > Hi Pete,
> > > > Fantastic! If I can be of any help do let me know... in fact your
> > > > original script was close to the functionality i was looking for also
> > > > - I just wanted an alert when a new message arrived for a specific
> > > > label. However most gmail notification tools only watch the inbox, and
> > > > as I have tab open in FFox somewhere anyway I've used a popup message
> > > > (alert box) for now. Having Outfox read out the message subject/sender
> > > > etc would be ideal :)
> > > > Take care
> > > > Haroon
> > > > On Jun 22, 2:08 am, Peter Parente <pare...@gmail.com> wrote:
> > > > > Hi Haroon,
> > > > > I'm working on a simpler example for using GM and Outfox right now.
> > > > > I'll post again when it's available on my blog.
> > > > > Thanks,
> > > > > Pete
> > > > > On Jun 17, 1:55 pm, Runes <haroon...@gmail.com> wrote:
> > > > > > Hi Gary,
> > > > > > Yep thats the exact script that led me to find Outfox in the first
> > > > > > place :) . Unfortunately it is for Outfox v 0.1 and doesnt seem to do
> > > > > > anything when installed with the current version.... I tried modifying
> > > > > > that code to suit the current version, replacing the outfox.init
> > > > > > method etc but the results in the original post were what i ended up
> > > > > > with.
> > > > > > Regards
> > > > > > Haroon
> > > > > > On Jun 17, 5:38 pm, Gary Bishop <g...@cs.unc.edu> wrote:
> > > > > > > > I've installed outfox on, and tested it with the various test pages
> > > > > > > > and it works fine, reading out the words as expected.... but now Im
> > > > > > > > trying to include it in a Greasemonkey script.
> > > > > > > > It doesnt seem to get picked up properly - I'm using the following
> > > > > > > > lines:
> > > > > > > > ... this is at the point where I'm calling the outfox.init function.
> > > > > > > > The fact it knows about this object type suggests that it;s picked up
> > > > > > > > the outfox js file correctly I think?
> > > > > > > > How do i include outfox correctly, does anyone havve a short sample
> > > > > > > > script i could use that just initialises on the page loading and says
> > > > > > > > a few words?