couldn’t this be done without greasemonkey, given the recent security issues with that package?
perhaps a nice portable webrick-based proxy, or something?
MenTaLguY
said on
22 Aug 2005 at 16:26
Haha, subversive.
But, yeah, like rcoder says … I don’t think I’d feel safe using greasemonkey just now.
netghost
said on
22 Aug 2005 at 17:05
ASCI Itastic. Love it.
couldbebig
said on
22 Aug 2005 at 17:15
hmmm… a webrick-based greasemonkey replacment programmed in a combination of Ruby and Javascript. The next big thing? Maybe we should keep this quiet until we’re ready to unleash it on the world.
FoxNews
said on
22 Aug 2005 at 17:18
Fox Tall and Fox Small have treed the greasemonkey using their Ruby and Webrick skills.
netghost
said on
22 Aug 2005 at 17:18
hehe, visions of a brillian red monkey laying a foundation of pure data bricks for a mixed up future. Splendid
Ideas!
said on
22 Aug 2005 at 17:29
rcoder: so you setup a webrick proxy that does greasmonkey-ish tranformations and then tell your browser to use that proxy, correct? This should work with any browser even IE (not sure why anyone would use IE, but someone must) whereas the greasemonkey only works with FireFox. Seems like such a simple idea, why didn’t anyone here think of it earlier?
Leon Spencer
said on
22 Aug 2005 at 17:32
Wow, this is so cool.
But agreed, I don’t wanna use Firefox. It doesn’t work with the rest of my OS. Safari preferage.
Version Control
said on
22 Aug 2005 at 17:35
So where’s the CVS repository (or SVN if that’s your preference) for this new scarlet monkey? Let’s get started on this thing.
jes5199
said on
22 Aug 2005 at 17:52
i don’t get it.
dense
said on
22 Aug 2005 at 18:15
Nice instructions. On port 80, it’s an empty page. Do I ping this address? Telnet to it on some obscure port? Drb it? What?
just goto
said on
22 Aug 2005 at 18:22
dense: try: http://65.125.236.166/
... at least that’s what I did. Maybe something else happens if you Drb it, but I didn’t try it.
:{
said on
22 Aug 2005 at 19:49
Worked a couple of hours ago (on port 80; http), but now it’s just dead. Oh, well, we’re now busily working on our Ruby-based Greasemonkey replacement anyway (aren’t we? please someone get the ball rolling)
eye
said on
22 Aug 2005 at 20:46
we are lazy!
bard
said on
22 Aug 2005 at 21:57
We’ll have no Cupid hoodwink’d with a scarf, or any other top-garments mind you, they are too too stuffy.
jix
said on
23 Aug 2005 at 03:18
it still works..
tilman
said on
23 Aug 2005 at 05:41
Add the line from the article to /etc/hosts and browse “hoodwink.d” to read the blurb
Danno
said on
23 Aug 2005 at 07:13
Okay, that’s a cool trick… how does that work?
grammarian
said on
23 Aug 2005 at 08:21
Danno: host headers, but that’s not what the excited hand-rubbing is all about.
:{
said on
23 Aug 2005 at 10:18
Danno: The excited hand-rubbing is all just incidental to this hoodwink’d thingy. It’s just one of those synchronicities where someone says “Hey, come look at this hoodwink’d thingy (oh and you’ve gotta use Greasemonkey)” and then someone else says “Greasemonkey, I don’t like it, it’s not secure, what about using Webrick?” and then it’s like a Eureka moment. The hoodwink’d thing, which is still mildly interesting (sorry, _why) becomes the secondary thing while people chew on the idea of Webrick replacing Greasemonkey and then rub their hands together dreaming of Ruby World domination.
So what should we call this? StarMonkey? RedFox? GreaseFox? Brick-O-lage?
grammarian
said on
23 Aug 2005 at 10:30
+1 Brick-O-lage
Wait… Is this SE?
Danno
said on
23 Aug 2005 at 11:49
Oh, there’s no doubt about what we should call it: GreasyBacon (ChunkyMonkey is, of course, already taken).
Danno
said on
23 Aug 2005 at 11:50
(BTW: I roughly understood what y’all were talking about once I actually got to the page, I just think the hosts redirect thing is a neat trick.)
Robby Russell
said on
23 Aug 2005 at 12:54
I’m patiently waiting for the next steps, sir. :-)
contriver
said on
23 Aug 2005 at 13:32
actually, i have thought of this before. and if i did, and y’all are, then others must have as well. anyway, it was just a rails teaching tool for myself, so i’ll share the couple bits i figgered out, but no source.
incidentally, the idea was a local spurl.net type service, and i said, hey, now how easy would it be to add greasemonkey type support to that? and then i said Very Easy! and then i didn’t do anything with it, because i personally don’t care about greasemonkey, although i understand it’s appeal.
so, here’s a good idea anyway.
user visits http://localhost to start their session.
greasybacon needs to find out if it is already set as the proxy.
so have it open a socket to google or some stalwart always-up provider to insure that net access is up and unblocked from the gbacon’s viewpoint.
at the same time (or directly after), the gb home page has an invisible iframe pointed to the same location. if gb intercepts that iframe src request, we can assume safely that gb is already set up as the local proxy and go about out bizness.
if it doesn’t intercept the request, then we aren’t, or a small chance there’s something more fundamentally wrong.
anyway, assuming we are, next step (actually probably done synchronously) is to browser/user/platform sniff.
The whole “sniff the browser and then show detailed instructions on what to click to set up your proxy” is old-school, in the dumb way, not the hip way. so you show an index page that roughly says “You are using Firefox 1.0.2 on Windows XP. If you would like to set greasybacon as your proxy, please download and run this1 file. If you are using a different browser, or would like to configure these settings manually, please choose from this menu.” where [1] can be a .reg file, or a .rb file that patches up ff’s network.http.proxy and such.
usability is fun!
Matt
said on
23 Aug 2005 at 13:39
When did RedHanded turn into a complete disaster in Safari? Or is it just me? Works fine in Firefox. Even looks alright in Mac IE.
Trejkaz
said on
23 Aug 2005 at 22:01
This is pretty unremarkable when you’re stuck behind a proxy that decides how to resolve all your addresses. Any chance of using a real hostname? ;-p
:-|
said on
26 Aug 2005 at 05:01
wow.
Manfred
said on
08 Sep 2005 at 11:22
Work fine for me in Safari
Freaky
said on
09 Sep 2005 at 15:47
Matt: No idea about Safari, but Opera’s always rendered comments very badly here for me. Looking at the CSS I can’t say I’m surprised, ew.
Oh, apparantly preview is broken too. Go standards.
Kelly
said on
14 Sep 2005 at 19:11
Lots of implications for this.
vic
said on
15 Sep 2005 at 02:55
Yes I want a serverside or clientside greasemonkey proxy with Xquery please.
Gavin
said on
05 Oct 2005 at 19:42
What the hell is all this aboot?
asdf
said on
11 Oct 2005 at 15:50
asf
matty
said on
17 Oct 2005 at 22:44
hello my baby
matty
said on
17 Oct 2005 at 22:44
hello my baby
m0laria
said on
18 Oct 2005 at 13:32
righto then
ME
said on
18 Oct 2005 at 21:16
this way blocked.
{o}
^
.; there is a file on your computer ;.
.; mac, windows, linux alike ;.
.; yep, it's true ;.
.; even windows has /etc ;.
??
what is this???
dotdot
said on
28 Oct 2005 at 07:37
Ooh. Nice-ish.
bob
said on
07 Nov 2005 at 03:14
hmmm
sabbat
said on
06 Dec 2005 at 17:35
whoo i´t very good
sabbat
said on
06 Dec 2005 at 17:35
whoo i´t very good
sabbat
said on
06 Dec 2005 at 17:35
whoo i´t very good
praveen
said on
19 Jan 2006 at 05:49
Nice trick!!!
But your validation is way too slow !! Use some ajax!!!
test
said on
23 Jan 2006 at 13:20
I believe every word.
→
I believe every word.
And then? She fell!
→
And then? She fell!
I know.
I reallyknow.
→
I know. I really know.
Cat’s Cradle by Vonnegut
→
Cat’s Cradle by Vonnegut
Convert with r.to_html
→
Convert with r.to_html
I’m sure not sure.
→
I’m sure not sure.
You are a pleasant child.
→
You are a pleasant child.
a 2 + b 2 = c 2
→
a 2 + b 2 = c 2
log 2 x
→
log 2 x
I’m unaware of most soft drinks.
→
I’m unaware of most soft drinks.
I’m unaware
of most soft drinks.
→
I’m unaware of most soft drinks.
Attributes
An example
→
An example
Red here
→
Red here
Red here
→
Red here
Spacey blue
→
Spacey blue
rouge
→
rouge
I seriously blushed
when I sprouted that
corn stalk from my
cabeza .
→
I seriously blushed when I sprouted that corn stalk from my cabeza.
I am crazy about Hobix and it’s all I ever link to!
→
→
Bunny.
→
And others sat all round the small
machine and paid it to sing to them.
→
And others sat all round the small machine and paid it to sing to them.
We use CSS .
→
We use CSS .
Tables
| name | age | sex |
| joan | 24 | f |
| archie | 29 | m |
| bella | 45 | f |
name age sex
joan 24 f
archie 29 m
bella 45 f
→
|. name |. age |_. sex |
| joan | 24 | f |
| archie | 29 | m |
| bella | 45 | f |
name age sex
joan 24 f
archie 29 m
bella 45 f
→
|_. attribute list |
|<. align left |
|>. align right|
|=. center |
|<>. justify |
|^. valign top |
|~. bottom |
attribute list
align left
align right
center
justify
valign top
bottom
→
|\2. spans two cols |
| col 1 | col 2 |
spans two cols
col 1 col 2
→
|/3. spans 3 rows | a |
| b |
| c |
spans 3 rows a
b
c
→
|{background:#ddd}. Grey cell|
Grey cell
→
table{border:1px solid black}.
|This|is|a|row|
|This|is|a|row|
This is a row
This is a row
→
|This|is|a|row|
{background:#ddd}. |This|is|grey|row|
This is a row
This is grey row
rcoder
couldn’t this be done without greasemonkey, given the recent security issues with that package?
perhaps a nice portable webrick-based proxy, or something?
MenTaLguY
Haha, subversive.
But, yeah, like rcoder says … I don’t think I’d feel safe using greasemonkey just now.
netghost
ASCI Itastic. Love it.
couldbebig
hmmm… a webrick-based greasemonkey replacment programmed in a combination of Ruby and Javascript. The next big thing? Maybe we should keep this quiet until we’re ready to unleash it on the world.
FoxNews
Fox Tall and Fox Small have treed the greasemonkey using their Ruby and Webrick skills.
netghost
hehe, visions of a brillian red monkey laying a foundation of pure data bricks for a mixed up future. Splendid
Ideas!
rcoder: so you setup a webrick proxy that does greasmonkey-ish tranformations and then tell your browser to use that proxy, correct? This should work with any browser even IE (not sure why anyone would use IE, but someone must) whereas the greasemonkey only works with FireFox. Seems like such a simple idea, why didn’t anyone here think of it earlier?
Leon Spencer
Wow, this is so cool.
But agreed, I don’t wanna use Firefox. It doesn’t work with the rest of my OS. Safari preferage.
Version Control
So where’s the CVS repository (or SVN if that’s your preference) for this new scarlet monkey? Let’s get started on this thing.
jes5199
i don’t get it.
dense
Nice instructions. On port 80, it’s an empty page. Do I ping this address? Telnet to it on some obscure port? Drb it? What?
just goto
dense: try: http://65.125.236.166/
... at least that’s what I did. Maybe something else happens if you Drb it, but I didn’t try it.
:{
Worked a couple of hours ago (on port 80; http), but now it’s just dead. Oh, well, we’re now busily working on our Ruby-based Greasemonkey replacement anyway (aren’t we? please someone get the ball rolling)
eye
we are lazy!
bard
We’ll have no Cupid hoodwink’d with a scarf, or any other top-garments mind you, they are too too stuffy.
jix
it still works..
tilman
Add the line from the article to /etc/hosts and browse “hoodwink.d” to read the blurb
Danno
Okay, that’s a cool trick… how does that work?
grammarian
Danno: host headers, but that’s not what the excited hand-rubbing is all about.
:{
Danno: The excited hand-rubbing is all just incidental to this hoodwink’d thingy. It’s just one of those synchronicities where someone says “Hey, come look at this hoodwink’d thingy (oh and you’ve gotta use Greasemonkey)” and then someone else says “Greasemonkey, I don’t like it, it’s not secure, what about using Webrick?” and then it’s like a Eureka moment. The hoodwink’d thing, which is still mildly interesting (sorry, _why) becomes the secondary thing while people chew on the idea of Webrick replacing Greasemonkey and then rub their hands together dreaming of Ruby World domination.
So what should we call this? StarMonkey? RedFox? GreaseFox? Brick-O-lage?
grammarian
+1 Brick-O-lage
Wait… Is this SE?
Danno
Oh, there’s no doubt about what we should call it: GreasyBacon (ChunkyMonkey is, of course, already taken).
Danno
(BTW: I roughly understood what y’all were talking about once I actually got to the page, I just think the hosts redirect thing is a neat trick.)
Robby Russell
I’m patiently waiting for the next steps, sir. :-)
contriver
actually, i have thought of this before. and if i did, and y’all are, then others must have as well. anyway, it was just a rails teaching tool for myself, so i’ll share the couple bits i figgered out, but no source.
incidentally, the idea was a local spurl.net type service, and i said, hey, now how easy would it be to add greasemonkey type support to that? and then i said Very Easy! and then i didn’t do anything with it, because i personally don’t care about greasemonkey, although i understand it’s appeal.
so, here’s a good idea anyway. user visits http://localhost to start their session. greasybacon needs to find out if it is already set as the proxy. so have it open a socket to google or some stalwart always-up provider to insure that net access is up and unblocked from the gbacon’s viewpoint. at the same time (or directly after), the gb home page has an invisible iframe pointed to the same location. if gb intercepts that iframe src request, we can assume safely that gb is already set up as the local proxy and go about out bizness.
if it doesn’t intercept the request, then we aren’t, or a small chance there’s something more fundamentally wrong.
anyway, assuming we are, next step (actually probably done synchronously) is to browser/user/platform sniff. The whole “sniff the browser and then show detailed instructions on what to click to set up your proxy” is old-school, in the dumb way, not the hip way. so you show an index page that roughly says “You are using Firefox 1.0.2 on Windows XP.
If you would like to set greasybacon as your proxy, please download and run this1 file. If you are using a different browser, or would like to configure these settings manually, please choose from this menu.” where [1] can be a .reg file, or a .rb file that patches up ff’s network.http.proxy and such.
usability is fun!
Matt
When did RedHanded turn into a complete disaster in Safari? Or is it just me? Works fine in Firefox. Even looks alright in Mac IE.
Trejkaz
This is pretty unremarkable when you’re stuck behind a proxy that decides how to resolve all your addresses. Any chance of using a real hostname? ;-p
:-|
wow.
Manfred
Work fine for me in Safari
Freaky
Matt: No idea about Safari, but Opera’s always rendered comments very badly here for me. Looking at the CSS I can’t say I’m surprised, ew.
Oh, apparantly preview is broken too. Go standards.
Kelly
Lots of implications for this.
vic
Yes I want a serverside or clientside greasemonkey proxy with Xquery please.
Gavin
What the hell is all this aboot?
asdf
asf
matty
hello my baby
matty
hello my baby
m0laria
righto then
ME
this way blocked.
?? what is this???
dotdot
Ooh. Nice-ish.
bob
hmmm
sabbat
whoo i´t very good
sabbat
whoo i´t very good
sabbat
whoo i´t very good
praveen
Nice trick!!!
But your validation is way too slow !! Use some ajax!!!
test
I believe every word.
I believe every word.
And then? She fell!
And then? She fell!
I know. I really know.
I know. I really know.
Cat’s Cradle by Vonnegut
Cat’s Cradle by Vonnegut
Convert with
r.to_html
Convert with r.to_html
I’m
surenot sure.I’m sure not sure.
You are a pleasant child.
You are a pleasant child.
a 2 + b 2 = c 2
a 2 + b 2 = c 2
log 2 x
log 2 x
I’m unaware of most soft drinks.
I’m unaware of most soft drinks.
I’m unaware of most soft drinks.
I’m unaware of most soft drinks. Attributes
An example
An example
Red here
Red here
Red here
Red here
Spacey blue
Spacey blue
rouge
rouge
I seriously blushed when I sprouted that corn stalk from my cabeza .
I seriously blushed when I sprouted that corn stalk from my cabeza.
align left
align left
align right
align right
centered
centered
justified
justified
left ident 1em
left ident 1em
left ident 2em
left ident 2em
right ident 3em
right ident 3em
Bingo. Bingo.
Bingo Bingo
→ a.gsub!( /Sidebar
Hobix Ruby
The main text of the page goes here and will stay to the left of the sidebar. Sidebar
Hobix Ruby
The main text of the page goes here and will stay to the left of the sidebar. Lists
→
1. A first item 2. A second item 3. A third
→
1. Fuel could be: 1. Coal 2. Gasoline 3. Electricity 2. Humans need only: 1. Water 2. Protein
→
→
External References
I searched Google.
I searched Google.
I am crazy about Hobix and it’s all I ever link to!
→
I am crazy about Hobix and it’s all I ever link to!
Bunny.
And others sat all round the small machine and paid it to sing to them.
And others sat all round the small machine and paid it to sing to them.
We use CSS .
We use CSS . Tables
| name | age | sex | | joan | 24 | f | | archie | 29 | m | | bella | 45 | f | name age sex joan 24 f archie 29 m bella 45 f
|. name |. age |_. sex | | joan | 24 | f | | archie | 29 | m | | bella | 45 | f | name age sex joan 24 f archie 29 m bella 45 f
|_. attribute list | |<. align left | |>. align right| |=. center | |<>. justify | |^. valign top | |~. bottom | attribute list align left align right center justify valign top bottom
|\2. spans two cols | | col 1 | col 2 | spans two cols col 1 col 2
|/3. spans 3 rows | a | | b | | c | spans 3 rows a b c
|{background:#ddd}. Grey cell| Grey cell
table{border:1px solid black}. |This|is|a|row| |This|is|a|row| This is a row This is a row
|This|is|a|row| {background:#ddd}. |This|is|grey|row| This is a row This is grey row
Comments are closed for this entry.