Oh and dissected URL matching is in...

why the lucky stiff why at hobix.com
Tue Sep 13 01:04:47 EDT 2005


Kevin Ballard wrote:

> Ok, the attached patch should work on current trunk and revert all  
> the recent lib/mouseHole.rb changes (back to 9/09) and apply my  
> patch. The hack for ___._ will be left untouched, but the Tidy  
> reversion, the GM support, and the uri hash matching stuff that's  
> been committed to lib/mouseHole.rb will be gone and left will be my  
> register_uri stuff.

I've merged the stuff.  And I'm going to the crappiest thing I can do 
right now.  I'm going to totally change it all.  It's rotten and I hate 
myself right now.  I hope you will all join with me in hating me.

The thing is: most people are going to want to use the register_url 
stuff to do cross-domain Ajax.  Adding resources to the site is 
important as well, yes.

I just think that if a guygal is writing a user script for Google that 
adds Yahoo search results, it's confusing to have to register 
"http://google.com/.mouseHole/yahoo.com".

In addition, it seems like a registered URL should be available wherever 
the script runs.

And, in the Javascript, the guygal should be given a bit of convenient 
JS so that calls to "http://yahoo.com" will be translated to the 
registered URL.

I'm not sure how this will all go together.  But it will.  Now you see.  
There is much cause for hate.

_why


More information about the Mousehole-scripters mailing list