Mac Hacks: The Launch
03/09/2001Welcome to the debut of a new O'Reilly Network feature: Mac Hacks. Before I get to the content itself, I'd like to take a moment to explain how this ongoing endeavor will work.
|
|
A couple times a month, I'll introduce a new hack that's fun, useful, time-saving -- or all three! Sometimes the hacks will be associated with an application; other times they will address the operating system itself. The launch of Mac OS X will provide us with a cornucopia of hacking opportunities, so of course we'll focus a lot of attention there. But I'd say it's an open field, and all good ideas will be considered.
Readers can submit hacks to by mailing them to derrick@oreilly.com. Then we'll test the hack and reply to the author. If we decide to use it, the author will be credited and allowed to list a URL with the credit. We do reserve the right, however, to reject the URL. (Not that anyone would list porn sites or other nefarious addresses.)
The hacks will be cataloged in a library that will always be accessible from the Mac DevCenter homepage so you can go back and refer to them at will.
But there's more! When we publish a new Mac Hack feature, it will have "Talk Back" functionality so others can comment on the hack or add their own variations. The Talk Back comments will stay associated with the original hack in our library, so you will always be able to see the entire thread.
Then, once a year in celebration of the Machack Conference (no association with this column or O'Reilly, although we are sponsoring one of the keynote addresses at this year's gathering), we'll publish the best of our reader-contributed Mac Hacks along with the conference coverage. This year's conference will be June 21-23 in Dearborn, MI, so it's time to get on the stick.
Just to review, here's the Reader's Digest version of what we're up to:
- A new Mac Hacks feature will be published a couple times a month on the Mac DevCenter.
- The feature will introduce a new hack and will be followed by a Talk Back feature that allows readers to add their 2 cents.
- If a reader originates the featured hack by sending it to O'Reilly, he or she will be credited and allowed to list a URL as long as it's deemed acceptable by the editors.
- The hacks will be cataloged chronologically and always available via the homepage of the Mac DevCenter.
- Once a year in celebration of the Machack Conference, we will publish the best of our reader contributions with the conference coverage.
Chum the waters
I can't just write an article about having fun hacking the Mac without a sample or two. After all, the whole point of this feature is have fun!
To start, here's a simple but slightly mischievous maneuver from our "Seven Mac Hacks" booklet that we distributed at Macworld SF this year. Eric Meyer wrote this one.
Our only request: If you try this on someone else's Mac, make sure you hang around to disable it too. Most tech support types won't be able to figure it out.
Practical Joke: Make Their Links Go "Poof!"
Here's a fun way to drive someone completely crazy without actually risking permanent damage to their machine, software, or anything else besides their state of mind. All you need is a text file that contains this line:
A:hover {display: none !important;}
Call the file something innocuous and sensible, like webdisplay.css. Now, sneak that file onto the hard drive of someone you'd like to torture -- your boss, an ex-lover, Rush Limbaugh, whomever -- and set up their web browser to use your file as a user stylesheet. (You might want to research how to do this ahead of time because some browsers make it difficult -- they may require you to change the name of the stylesheet, for example, or put it in a specific directory.)
Now, whenever your victim moves the mouse pointer over a hyperlink, it will disappear. In certain situations, it will even flicker in and out of existence. Either way, though, they won't be able to actually select the link, so unless they figure out what's wrong and fix it, the only way for them to navigate the Web is to type in URLs directly!
Note that this hack only works in Microsoft Internet Explorer 4.5 and 5, and Netscape Navigator 6. Navigator 4.x can't handle this one, but if your intended victim is still browsing with Navigator 4.x, don't you think they're already suffering enough?
Want more great CSS tricks? Take a look at The CSS Anarchist's Cookbook right here on the O'Reilly Network.
Emergency FTP for Any OS 9 Mac
This next gem is for System 9 users who find themselves in a pinch -- without an FTP client. Thanks to O'Reilly's own Chris Stone for this handy tip.
Need to FTP a file from a Mac without an FTP client installed? Fear not.
OS 9 includes a built-in FTP client by way of the Network Browser, which is usually located under the Apple menu. To FTP a file, open the Network Browser. From the network menu (the far-left button with the pointing hand), select "Connect to Server."
In the network address field that now appears, enter the full URL of the FTP server that you're trying to reach (such as ftp://ftp.yoursite.com). You'll be prompted to log on as "anonymous" or with your account info. The server's directories will then appear in a Finder-like window in the Network Browser.
Simply drag items in and out of the window to and from your desktop to transfer them.
Call to action
I sure hope I've whetted your appetite by now. So what's next?
If you're the hacker type and have something to contribute, then send it along to me at derrick@oreilly.com. We'll review it and let you know if we can use it. If you just want to sit back and enjoy, that's fine too. We'll run our first column next week. See ya then.
Derrick Story is the author of The Photoshop CS4 Companion for Photographers, The Digital Photography Companion, and Digital Photography Hacks, and coauthor of iPhoto: The Missing Manual, with David Pogue. You can follow him on Twitter or visit www.thedigitalstory.com.
Showing messages 1 through 15 of 15.
-
Hacks
2003-12-05 21:08:06 anonymous2 [Reply | View]
I want to see how to hack and remotely control other macs. Thanks!
-
Safari's hack i'd love to see...
2003-12-02 06:47:41 anonymous2 [Reply | View]
Hello,
Thanks for this great site.
Having a small display (15" Tibook), i love Safari's tabbed windows.
But i rather dislike that when opening a new window, or clicking on a link resulting in a new window, i do have to remember to press the Cmd key to get it tabbed...
Does anybody have an idea on how to switch the behavior, so the default behavior would be "open tabbed window" and the "Cmd" behavior would be "open in new safari window" ?
This should be in the Preferences of Safari, IMHO...
Thanks in advance.
J.
-
History hack in IE 5
2003-06-22 16:25:49 anonymous2 [Reply | View]
Hi,
I just found your website, and I have been playing with some of the hacks you have there, like the use of ResEdit to turn IE 5 to a kiosk mode...
I have recently discovered that some of my employees have been misusing my computers and the internet on MY time. From Macintosh illiterate they are now able to selectively delete the history so it doesn't reflects the sites they have been visiting. They just go to the Window, History, highlight the items they want to delete and hit delete. They haven't found how to delete the cookies, which is the way I know which sites they have been visited after they have deleted the history.
Is there any way to protect the history from being deleted, or password protect it? I still want to be able to see the history from inside the browser, and want them to be able to see the history, but when they highlight and hit delete, I would like them to hit a "wall" that unables them to erase the items they have selected... and make them sweat a little in the process.
Password protect the Preferences option from the Edit menu?
Possible?
Thanks
-
how to hack?
2002-09-19 15:40:45 anonymous2 [Reply | View]
hi, nice to meet u.....
my email address is chongsy2@yahoo.com
i am here just want to know that the ways hacking the internet users by using the internet explorer.....
do u mind to tell me this .. 10s
-
hack ftp for mac
2001-08-19 13:06:03 kasur [Reply | View]
it's that, find id&pass for download on ftp.
which software mac? (like boot ftp)
the host conter, revange easy?
thanks, kasur
kasurone@mageos.com
-
tape devices under OS X and OS X Server
2001-06-21 23:52:09 jspady [Reply | View]
I would like to see a hack where someone can tell me how to create a scsi tape device driver that will let me do basic tape functions against an AIT-style tape drive.
I thought I'd find a raw scsi tape device at /dev/rst0 but there is nothing there and no way that I know of to run the command "mknod" to create an appropriate /dev entry... perhaps it is all netinfo-based logic but I just don't know.
If anyone has a hack that allows a scsi tape device to be access on OS X, I would really like to know.
Thanks!
John Spady
email: jspady@u.washington.edu
-
How about remapping the caps-lock key to control?
2001-04-27 05:21:18 yarrumretep [Reply | View]
It is imperative for folks that are Emacs-addicted UNIX heads to have the control key be to the left of the A key - in place of the caps-lock key. Apparently on OSX (the first released version) this is a difficult hack - in fact, so far noone has been able to describe how to get it done. It must be possible...
-
Java on Mac OS X
2001-04-02 06:41:01 uncledave [Reply | View]
Not being a Linux user, I'd like to see a "cookbook" for editing, compiling, "jar"ing and running Java 1.2 standalone applications.
-
Appletalk in OS X...
2001-03-30 19:38:22 mjsmitho [Reply | View]
Appletalk in OS X only connects to servers via TCP/IP however my NT AppleShares do not support TCP/IP. However the System preference for ethernet in the networking control panel sees the Appletalk Zones and i can see my Appletalk printers is there a way to inable the regular Appletalk for disk mounting.
-
Suggested Mac Hack Idea
2001-03-12 07:47:19 Derrick Story |
[Reply | View]
I'm curious about overclocking the G3 processor. It might be worth a little research to figure out how to do it and what the results might be. Anyone else interested?






I'm having trouble getting a hack to work from the iPod and iTunes Hacks book. I'm trying to use hack #64 (chapter 4), "Alter the iTunes Look and Feel by Resource Hacking".
You're supposed to edit the iTunes binary and replace some hex color codes with ones of your own choosing. However, the table of addresses for the color entries that appears in the book seems like it might no longer have the correct entries. Perhaps the addresses have changed with newer versions?
I tried altering a number of the entries, and none of them seemed to do anything. Also, the values in the one example shown in the book did not match up with the entry in my binary.
Anyone experiment with this? Any ideas? Thanks.