How to fake the X-Forwarded-For (XFF) HTTP header

http://addons.mozilla.org/en-US/firefox/addon/967 then:

1) In Firefox, Go to tools->modify headers

2) From the drop down box on the left select add

3) Then enter: "X-Forwarded-For" in the first input box without the quotation marks

4) Enter: "12.13.14.15" in the second input box without the quotation marks

5) Leave the last input box empty, and save the filter, and enable it
http://imgur.com/Feb4.png

6) Click the 'Configuration' tab on the right then proceed to check the 'always on' button.

Close the Modify Headers box and it should work.
Works for TheDailyShow.com, southparkstudios.com, and ColbertNation.com

Webscraping 101

The last 6 months my job pretty much only consisted of webscraping several things (javascript, strange asp.net viewstates, you name it I got it :D) and this is what I came up with:

  • If you-can't avoid it, watir + internet explorer works... you might want to disable displaying pictures in IE. You don't need them for scraping and they tend to break stuff :-/
  •  Mechanize is a nice tool to put together HTTP get and post requests. The documentation is kinda horrible compared with other ruby libraries though (e.g. some methods do not exist (?any more / yet ?) in the stable version of the gem)
  • A nice way to get data is from AJAX enabled websites is to use Webscarab and simply find out which GET requests the Javascript on the pages makes. This way you'll end up with a minimum of parsing and a maximum of data, most of the stuff is REST'ish
  • Use Nokogiri (kinda builit into mechanize) or Hpricot to parse HTML. Use xpath!
  • Regular Expressions are Nerd Superpowers. Rubular is a wonderful site!
  • I tried using beautiful soup once and found it to be a HORRIBLY unpleasent experience compared to hpricot (I am more of a Ruby guy than a Python dude though)

http://wtr.rubyforge.org/
http://www.rubular.com/
http://www.reddit.com/r/programming/comments/974iy/an_almost_perfect_realworld_hack/c0bnuxm

SEO plugins für Mozilla Firefox

Mit diesen Firefox-Extensions sehen Sie das Internet wie ein professioneller SEO, wobei ich alle bei mir installierten Firefox-Extensions aufführe, die ich über die Funktionen zur Google Suchmaschinenoptimierung hinaus, sinnvoll und hilfreich finde:

Auto Copy 0.6.0 - Kopiert den ausgewählten Text in die Zwischenablage. Wie Linux oder mIrc ...
ColorZilla 0.8.2 - Advanced Eyedropper, ColorPicker, Page Zoomer and other colorful goodies.
Copy Plain Text 0.3.1 - Kopiert Text ohne die Formatierung mit zu übernehmen
CustomizeGoogle 0.39 - Google-Suchergebnisse durch Zusatzinformationen und Entfernen von Werbung und Spam verbessern
Download Manager Tweak 0.6.6 - Eine Modifikation des Mozilla Download-Managers, welche die Optik verändert und z.B. erlaubt den Download in einem neuen Fenster, Tab oder der Browser-Statusbar anzuzeigen und zu nutzen ...
Download Statusbar 0.9.3.1 - gerade erst entdeckt das diese Erweiterung auch noch aktiviert ist, werde ich zugunsten des flexibleren Download Manager Tweak gleich abstellen ...
Fangs Screen Reader Emulator 0.82
FirefoxView 0.31.2 - ermöglicht über das Kontextmenue des Internet Explorer eine Seite direkt im Firefox zu öffenen ...
Google Pagerank Status 0.9.3 - sehrr zuverlässige PageRank-Anzeige in der Browser-Statusbar, läuft auch, wenn man die Google-Toolbar nicht nutzt ...
google-suggest.xpi - schlägt während der Eingabe von Suchbegriffen in die Firefox-Google-Toolbar Ergänzungen vor und merkt sich Eingaben
IE View 1.2.5 - über das Kontextmenü im Firefox eine Seite in neuem Fenster im Internet Explorer öfnnen ...
ListZilla 0.6.9 - mit diesem coolen Tool lassen sich ihre Extensions + Themes in HTML, Text oder vb Code exportieren und auch direkt online stellen oder betrachten
MeasureIt 0.3.2 - ein Werkzeug in der Firefox-Statusbar, mit welchem sich eine pixelgenaue Messung von z.B. Bildgrößen im Browser leicht realisieren lässt
Optimoz Tweaks 0.4 - alle möglichen Veränderungen der Benutzeroberfläche, z.B. automatisches Verschwinden/Erscheinen der Firefox-Sidebar bei Berühren des linken Browserrandes mit dem Cursor
PRGoogleBar 0.9.0.24 - erweiterte Google-Toolbar von einem Drittanbieter - leider funktioniert bei mir die PageRank-Anzeige immer erst nach einem Reload einer Site, daher die zeitgleich installierte PageRank-Anzeige in der Statusbar
RankQuest Toolbar 0.2 - Info zu SEO-Themen ohne Ende, meist auf englisch. Es sind aber auch wirklich sinnvolle Tools enthalten wie die Möglichkeit die Seite im Lynx-Modus anzusehen (entspricht in etwa der Sicht einer Suchmaschine), die Keyword-Dichte zu ermitteln oder die Google-Sandbox für Adsense Werbung (Vorschau welche Anzeigen von Google vorraussichtlich bei Schaltung von Adsense einblenden wird) über digitalpoint.com anzeigen zu lassen - einfach mal ausprobieren und staunen ...
ScrapBook 0.18.0 - eine einfache Methode um komplette Websites downloaden und verwalten zu können
SearchStatus 1.3 - zeigt neben dem PageRank auch den Alexa Rank sowie ähnliche Seiten von Google an, lässt sich in die unverzichtbare Developer-Toolbar integrieren, so daß beides gemeinsam ein und ausgeschaltet werden kann und nicht zuviel Platz wegnimmt
SEOpen 0.6 - einfache Abfrage über das Kontextmenü von z.B. Google, MSN, Yahoo Backlinks sowie erfasste Seiten bei den jeweiligen Suchmaschinen. Man kann sich dies auch gleichzeitig in mehreren Tabs anzeigen lassen oder auch über das Kontextmenü in Archive.org recherchieren ...
SessionSaver .2 0.2.1.028 - ganz cool, auch wenn´s ab und zu noch hängen bleibt. Bei wem sich der Firefox schonmal mitte in einer Surf-Session mit 20 oder mehr offenen Tabs verabschiedet hat (passiert bei den aktuellen Firefox-Versionen kaum noch), wird zu schätzen wissen, daß diese Erweiterung die letzten offenen Tabs vor dem Schlissen des Browsers automatisch speichert und beim nächsten Öffnen alles wieder da ist.
ShowIP 0.7.11 - Show the IP address of the current page in the status bar. It also allows querying custom services by IP (right mouse button) and Hostname (left mouse button), like whois, netcraft. Additionally you can copy the IP address to the clipboard. This extension was formerly known as ipv6ident
Statusbar Clock 1.7.1 - Uhrzeit, Wochentag und Datum in der Firefox-Statusbar
Titlebar Tweaks 1.7.0 - kleine Spielerei, mit der man die Titelzeile (ganz oben der Seitentitel) vom Firefox verändern kann - bei mir steht da statt Mozilla Firefox: ultimative Chaos by Goatix - macht meine tägliche Arbeit irgendwie angenehmer ...;-))
Web Developer 0.9.4 - meine Lieblings-Firefox-Extension, die nicht nur für SEO´s, sondern auch für Webdesigner und Normaluser interessant ist, da man damit z.B. leicht CSS-Styles analysieren und online abändern kann, sowie einfach auch Javascript ein und ausschalten kann. Die Möglichkeiten sind beinahe endlos - einfach installieren und rumspielen .

Programm für Pagerank, DNS, Trace-Routing usw...

Ein geiles Programm, um alle möglichen Infos über eine domain rauszufinden, ist eToolz. Das Teil ist kostenlos und standalone, keine Installation nötig, also auch super für den USB-Stick.

Das Programm eToolz kann wirklich alles, was man so braucht, eine klare Empfehlung!

Gute Fontverwaltung

Welches Programm ist das beste, um Fonts/Schriftarten auf dem PC zu verwalten?

Ich werfe in den Raum:

Firefox verschlüsselt sichern - Firefox and TrueCrypt

A Firefox profile stores all personal information such as bookmarks and passwords in it. Everyone who is starting up Firefox with that profile is able to use your saved passwords and cookies as well which is a security risk if you ask me. One way to overcome this would be to protect the Firefox profile folder by moving it to a location that is not accessible to anyone except you.

I did this by moving the profile to my encrypted hard drive. The hard drive is encrypted using True Crypt and the profile can only be accessed if I provide the security key to decrypt the hard drive. Other means are theoretically possible as well, use a portable device that has to be plugged in before you can use the profile.

Moving a profile to another location is not difficulty at all. Close all instances of Firefox and locate your profile folder. This is usually in Document and Settings under Application Date, Mozilla, Firefox, Profiles of the user who is logged into windows currently.

Move the complete folder to a different location. Open up profiles.ini afterwards (located in Firefox in Document and Settings). Change the path= parameter to the new location of your profile and change the parameter IsRelative=1 to 0.

hint: Changing the "path=", you have to look how the path has to be written, beware of the correct slash/backslashes...

Example: Path=I:\Firefox_Profiles_secure\2wrg43g.default


Restart Firefox to see if the changes have been made. If all your bookmarks for instance load fine the changes have been successful. If that is not the case double-check the path parameter in profiles.ini.

Now if you unmount the truecrypt partition, nobody can access your bookmarks, cache, history. Perfect privacy I would say.

MacOSX auf Intel-PC installieren

Mögliche "Distributionen":

  • iDeneb
  • Leo4All
Video mit der Installation von Leo4All. (via)