[Vimperator] Greasemonkey Installation Problem with VIMperator

Martin Stubenschrott stubenschrott at gmx.net
Fri Apr 20 13:59:28 PDT 2007


On Fri, Apr 20, 2007 at 05:35:23PM +0100, Pierre Andrews wrote:
> Hello,
> 
> I know there is probably not a big clash between the users of GM and
> the users of VIMperator, but I encountered a very blocking problem
> when trying to install GM scripts with VIMperator.
> 
> It looks like Greasemonkey knows you are trying to open a GM script
> when the url in the address bar finishes with .user.js
> In VIMperator, when I click on a link to a user.js, there is no
> problem. However, If I try to open a file directly (without a anchor
> to it):
> :open http://6v8.gamboni.org/flickrautopage.user.js
> 
> I get a very nasty exception:
> Component returned failure code 0x805e000a [nsIWebNavigation.loadURI]
> chrome://vimperator/content/commands.js :: openURLs :: line 885
> 
> Not sure if that's easy to repair as I don't know much about
> extensions implementation :-/

Hmm, without greasemonkey installed, 

:open http://6v8.gamboni.org/flickrautopage.user.js

just shows the file as plain text without an error.

I don't know myself what would cause this error, but don't know
greasemonkey's internals either. I just know, that :open handles input
differently to the address bar. As a workaraound, you could:
:set go+=T
and open the url directly from there. This _should_ work hopefully.

--
Martin


More information about the Vimperator mailing list