From mblsha at gmail.com Tue Nov 7 06:59:56 2006 From: mblsha at gmail.com (Michail Pishchagin) Date: Tue, 7 Nov 2006 14:59:56 +0300 Subject: Adding referer field to MouseHole::Page Message-ID: <31A35059-2418-4B11-BCD4-CC330EBCEDB7@gmail.com> Hi, I've created a small patch to add referer field to the MouseHole::Page. I'm now trying to recreate this script's[1] functionality in MouseHole, so referer is a must ;) [1] http://6v8.gamboni.org/IMG/js/flickrrefercomment.user.js -------------- next part -------------- A non-text attachment was scrubbed... Name: referer.patch Type: application/octet-stream Size: 1607 bytes Desc: not available Url : http://rubyforge.org/pipermail/mousehole-scripters/attachments/20061107/b559203f/attachment.obj -------------- next part -------------- -Michail From joona at fiveam.org Tue Nov 7 12:33:54 2006 From: joona at fiveam.org (Joona Kulmala) Date: Tue, 7 Nov 2006 19:33:54 +0200 Subject: "NOT FOUND" -error with HTTPS Message-ID: Hi! I'm trying to enhance accessibility and usability of my netbank, but because it's behind HTTPS, I get this "NOT FOUND"-error every time I try to use it through MouseHole. Every regular HTTP page work fine. Is MouseHole's SSL support limited or is there a one at all? I've seen some 1.x scripts with https-prefixes configured in them. I'm also looking for some documentation, articles or snippets about MH2, but haven't really find any except one article at RedHanded. Yours truly, Joona Kulmala -- Joona Kulmala From zimba.tm at gmail.com Wed Nov 8 02:26:13 2006 From: zimba.tm at gmail.com (Jonas Pfenniger) Date: Wed, 8 Nov 2006 08:26:13 +0100 Subject: "NOT FOUND" -error with HTTPS In-Reply-To: References: Message-ID: <3ff63f9b0611072326i877bbadi40a5d45134df4760@mail.gmail.com> On 07/11/06, Joona Kulmala wrote: > Hi! > > I'm trying to enhance accessibility and usability of my netbank, but > because it's behind HTTPS, I get this "NOT FOUND"-error every time I > try to use it through MouseHole. Every regular HTTP page work fine. > > Is MouseHole's SSL support limited or is there a one at all? I've > seen some 1.x scripts with https-prefixes configured in them. > > I'm also looking for some documentation, articles or snippets about > MH2, but haven't really find any except one article at RedHanded. Hi Joona, currently mouseHole doesn't support SSL connection. We would need to implement a ruby SOCKS server for that I think. And I'm not even sure that the connection wouldn't be crypted between the browser and the remote server. -- Cheers, zimbatm http://zimbatm.oree.ch From why at hobix.com Wed Nov 22 13:16:16 2006 From: why at hobix.com (why the lucky stiff) Date: Wed, 22 Nov 2006 12:16:16 -0600 Subject: + mh2 html preservation tales Message-ID: <20061122181616.GQ76763@lstsv-3264.layeredtech.com> Okay, I'm happy to offer you an update. Hpricot has continued to mature, to the benefit of MouseHole. It'll now preserve a page's original HTML and, after rewrite, the untouch parts of the page will be preserved. So, less breakage. In order to use the latest MouseHole, you'll also need to check out the very latest Hpricot and install it. svn co http://code.whytheluckystiff.net/svn/hpricot/trunk hpricot cd hpricot rake install svn co http://code.whytheluckystiff.net/svn/mouseHole/trunk mouseHole cd mouseHole bin/mouseHole You may also want to upgrade Camping. gem install camping --source code.whytheluckystiff.net _why From why at hobix.com Wed Nov 22 13:09:56 2006 From: why at hobix.com (why the lucky stiff) Date: Wed, 22 Nov 2006 12:09:56 -0600 Subject: Adding referer field to MouseHole::Page In-Reply-To: <31A35059-2418-4B11-BCD4-CC330EBCEDB7@gmail.com> References: <31A35059-2418-4B11-BCD4-CC330EBCEDB7@gmail.com> Message-ID: <20061122180955.GP76763@lstsv-3264.layeredtech.com> On Tue, Nov 07, 2006 at 02:59:56PM +0300, Michail Pishchagin wrote: > I've created a small patch to add referer field to the > MouseHole::Page. I'm now trying to recreate this script's[1] > functionality in MouseHole, so referer is a must ;) What about page.headers['referer']? Would it be better to have accessors for the most common headers? _why