Very interesting trick! I can imagine a whole slew of monkey-like Ubiq
scripts now:) Thanks!

On Thu, Mar 5, 2009 at 11:38 PM, satyr <[email protected]> wrote:
> http://gist.github.com/74368
> Forked it and it's working for me.
>
> Keys are:
>   * Add "//function cmd_" to deceive Gist.
>   * Quickly "return" if it's not the target page.
>
> On Thu, Mar 5, 2009 at 11:48 PM, Damien Hou <[email protected]> wrote:
>>
>> Hi folks,
>>
>> I'm experimenting with migrating a greasemonkey script to Ubiq (the
>> twitter search on google script). I use the "CmdUtils.onPageLoad"
>> function to get the script working within my command editor. But once
>> I publish to GitHub there's no auto installation prompt for users. Do
>> I have to make my own page to host the script for people to use then?
>>
>> One more thing. If I append a dummy command to the script, the
>> installation prompt shows and the script installs, but neither the
>> dummy command nor the pageload script works. Weird. How am I supposed
>> to use CmdUtils.onPageLoad to do something like Greasemonkey scripts
>> to the DOM?
>>
>> Here's the script: http://gist.github.com/74351 Please help take a look.
>> Thanks!
>>
>> --
>> Best Regards,
>> Damien
>>
>>
>
>
> >
>



-- 
Best Regards,
Damien

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to