Adium Safari-button support for Opera
This small modification makes the "Insert link to active page in Safari" from chat windows in adium support Opera and suggest links from it if you have it open. You can also change the format in which links are sent.
You don't even need to close and restart Adium. Changes are instantaneous.
- In Finder, find your Adium application file, right click on it and choose "Show Package Contents"
- Navigate to Contents/Resources and open Safari.scpt
- You can paste in the source from this script (or you can download the script).
NB: This script adds support for Opera and changes the output format to "Page title: url" without html. If you are unhappy with this, just use the ending of the original script.
Adium script to get people to freakin google stuff themselves
This little script adds a substitution to Adium messages that calls http://letmegooglethatforyou.com/, which is a service that provides instant tutorials on the use of google. Here is an example link
In an Adium chat, simply type %_g{keywords go here} (or you can use /g{keywords}) to send a link similar to the example above.
Clicketyclick: download the script
NB: until it has been validated by adiumxtras.coms moderators, the closest you'll get to an automatic installation is this:pushd ~/Library/Application\ Support/Adium\ 2.0/Scripts/; curl -O http://s-softs.com/downloads/LetMeGoogleThat.AdiumScripts.zip; open -W LetMeGoogleThat.AdiumScripts.zip; rm LetMeGoogleThat.AdiumScripts.zip; popd
-- Bon annif ma poule =)
Capture HTTP requests on your network
These two aliases run tcpdump and a little perl script that scans your network adapter for http requests:
This one works on your wifi card (if your on a mac - adapter en1 otherwise): alias tcpdump_webcapture_wifi=$'sudo tcpdump -i en1 -s 1500 -A "tcp port 80" | /opt/local/bin/perl -e \'my$path="";while(<>){$path=$1 if($_=~/GET (\S+)/);if($_=~/Host: (\S+)/&&!($path eq"")){print"http://$1$path\n";}}\'' This one works on your ethernet (wired network) card (if your on a mac - en0 otherwise): alias tcpdump_webcapture_ethernet=$'sudo tcpdump -i en0 -s 1500 -A "tcp port 80" | /opt/local/bin/perl -e \'my$path="";while(<>){$path=$1 if($_=~/GET (\S+)/);if($_=~/Host: (\S+)/&&!($path eq"")){print"http://$1$path\n";}}\''