Javascript

Bookmarklets - Intelligente Favoriten

Mit kleinen Javascript-Programmen Browser und Inhalt steuern

Jeder der im Internet surft speichert sich ab und an eine Seite in seinen sog. Favoriten oder Lesenzeichen, je nachdem welchen Browser man verwendet. Im Allgemeinen sind dies schlicht URL's, die auf einen späteren Klick in die Browser-Adresszeile übernommen und so angesurft werden können.

Die wenigsten wissen jedoch, dass alle modernen Browser in der Lage sind in die Adresszeile eingetippten Javascript-Code auszuführen. Probieren Sie es aus: Tippen Sie in die Adresszeile " javascript: alert("Dies ist ein Test"); ". Was passiert? Es erscheint folgende Dialogbox:

Auf der Grundlage dieses Verhaltens ist es natürlich möglich auch etwas komplexere einzeilige Javascript-Programme zu schreiben, die entweder den Browser dazu bewegen etwas zu tun oder die etwas mit dem Inhalt der gerade angezeigten Web-Seite tun. Da man nun alles was in der Adresszeile steht in einem Lesezeichen speichern kann, eignen sich diese hervorragend, um dort diese kleinen Programme zu speichern. Man spricht nun bei diesen Javascript-Lesezeichen von Bookmarklets.

Inzwischen sind im Internet unzählige Bookmarklets aufgetaucht, geschrieben von meist unbekannten Programmierern, die den ein oder anderen Zweck erfüllen. In diesem Artikel möchte ich einige davon vorstellen, weil sie einfach im Web-Alltag viele Aufgaben erleichtern. Leider lassen die meisten Quellen den Urheber der Bookmarklets vermissen. Aus Gründen der Fairness wäre es aber eigentlich angebracht den Namen des Entwicklers zu nennen, wenn er seine Erzeugnisse schon der Öffentlichkeit zur Verfügung stellt.

Bei einigen der Bookmarklets steht der Javascript-Code dabei, um auch etwas mehr von der Technik zu lernen. Allen Links in der Liste ist gemeinsam, dass man sie ganz einfach über die rechte Maustaste und den entsprechenden Befehl den eigenen Favoriten hinzufügen kann.

Browser

Fenstergröße VGA 640x480

javascript:void(window.resizeTo(640,480));

Fenstergröße SVGA 800x600

javascript:void(window.resizeTo(800,600));

Fenstergröße XGA 1024x768

javascript:void(window.resizeTo(1024,768));

Fenstergröße SXGA 1280x1024

javascript:void(window.resizeTo(1280,1024));

Fenstergröße gesamter Bildschirm

javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);

Fenster zentrieren

javascript:window.moveTo(Math.round((screen.availWidth-window.outerWidth)/2), Math.round((screen.availHeight-window.outerHeight)/2));

Fenster an der nächsten Ecke andocken

javascript:moveTo(((2*screenX+outerWidth)>screen.availWidth)?(screen.availWidth-outerWidth):0, ((2*screenY+outerHeight)>screen.availHeight)?(screen.availHeight-outerHeight):0);

Fenster an der nächsten Seite andocken

javascript:Ve8rC=screen.availHeight-screenY;H9mP3=screen.availWidth-screenX; if(Math.abs(t47b=(screenX+outerWidth>H9mP3)?H9mP3-outerWidth:-screenX)Ve8rC) ?Ve8rC-outerHeight:-screenY)){moveBy(t47b,0)}else{moveBy(0,tAq6N)};

Aktuelle URL per E-Mail versenden

javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href);

Cookies anzeigen


Web-Seite

Seite mit Google übersetzen

javascript:q=location.href;void(location.href='http://translate.google.com/translate?u='+q);

Einen Ordner nach oben

javascript:void(location.href=location.href.substring(0,location.href.substring(0,location.href.length-1).lastIndexOf('/')+1))

robots.txt der aktuellen Seite anzeigen

javascript:void(location.href='http://' + location.host + '/robots.txt')

Anzahl Links

javascript:if(frames.length<1){alert('This page has ' + document.links.length + ' links.')}else{alert('The page has frames! Use version of bookmarklet for frames. (bookmarklets.com)')}

Wörter zählen

Seite automatisch scrollen (langsam)

Seite automatisch scrollen (schnell)

Alle DIV's markieren

CSS abschalten

Grafiken finden & Abmessungen und Dateigrösse anzeigen

kick it on dotnet-kicks.de AddThis Trackback-Url...

Schlagworte

139 Kommentare bislang...

  • Many humans are acquainted of the actuality that Ray-Ban Cheap Ray Ban Sunglasses has been designing superior sunglasses for a actual continued time. They were advised for Lieutenant John MaCready, who capital Buy Ray Ban Sunglasses to assure his eyes from the sun while still searching stylish. They were again bogus to be actual light, Ray Ban Online and became accepted with the Army Air Corps of the United States. What abounding do not know, though, is Buy Ray Ban Frame Sunglasses Online the actuality that there are aswell Ray Ban glasses. These are advised for accustomed use, and are able to Ray Ban Cats Sunglasses On Sale be fit with decree lenses in adjustment to tanglainn accommodate adapted vision.
    139
    Cheap Ray Ban Sunglasses : Dienstag, 15. Mai 2012 09:47
  • Discount is a chat advised as adult for Cheap Louboutin Shoes Christian Louboutin abatement shoes. There are abounding online writing blue-blooded as Louboutin adult shoes etc on Louboutin Shoes For Sale internet that defines the abyss and assailment of humans who are in fact cat-and-mouse for the Louboutin Shoes Online allurement of their sample auction and offers. In NY and Los Angeles the humans are begin Louboutin Shoes Outlet visiting their auction offers for accepting sandals and shoes lower than the retail price. Offers like Cheap Louboutin Evening assorted acquirement items and associates discounts or shoe freaks allure a lot of of the humans Louboutin Pointed toe pumps On Sale to buy their tanglainn shoes from the sale.
    138
    Cheap Louboutin Shoes : Dienstag, 15. Mai 2012 09:46
  • Troubles consistently abide with arcade at approved food Discount Christian Louboutin for the nicest artist women's shoes and purses. The issues that are the affliction assume to appear Christian Louboutin Shoes Outle if we are angry added shoppers to get the best deals. These sales are alive with humans Christian Louboutin Shoes Sale who are aswell aggravating to save some money with the ambrosial auction prices. It anon turns into christian louboutin new a beneath than affable action of the fittest as shoe boxes are snatched and tossed about by Discount Christian Louboutin Peeptoe afraid shoppers who wish annihilation added than to get their easily on tanglainn that endure brace of Christian Louboutin Peeptoe For Sale Christian Louboutin Shoes or that absurd Jimmy Choo bag.
    137
    Discount Christian Louboutin : Dienstag, 15. Mai 2012 09:44
  • Troubles consistently abide with arcade at approved food <a href="http://www.louboutinredsoles.com" title="Discount Christian Louboutin">Discount Christian Louboutin</a> for the nicest artist women's shoes and purses. The issues that are the affliction assume to appear <a href="http://www.louboutinredsoles.com" title="Christian Louboutin Shoes Outle">Christian Louboutin Shoes Outle</a> if we are angry added shoppers to get the best deals. These sales are alive with humans <a href="http://www.louboutinredsoles.com" title="Christian Louboutin Shoes Sale">Christian Louboutin Shoes Sale</a> who are aswell aggravating to save some money with the ambrosial auction prices. It anon turns into <a href="http://www.louboutinredsoles.com/christian-louboutin-new-c-7.html" title="christian louboutin new">christian louboutin new</a> a beneath than affable action of the fittest as shoe boxes are snatched and tossed about by <a href="http://www.louboutinredsoles.com/christian-louboutin-peeptoe-c-6.html" title="Discount Christian Louboutin Peeptoe">Discount Christian Louboutin Peeptoe</a> afraid shoppers who wish annihilation added than to get their easily on tanglainn that endure brace of <a href="http://www.louboutinredsoles.com/christian-louboutin-peeptoe-c-6.html" title="Christian Louboutin Peeptoe For Sale">Christian Louboutin Peeptoe For Sale</a> Christian Louboutin Shoes or that absurd Jimmy Choo bag.
    136
    Discount Christian Louboutin : Dienstag, 15. Mai 2012 09:35
  • prix air max 90 homme Il s'agit d'un singe doré, le corps entier de l'or Guangcan, chaque singe racine comme le moulage d'or, le singe une paire d'yeux de singe étaient de l'or noir au moment roulaient vers l'avant, il a tenu le c?té du miroir de bronze ancien, prit une profonde inspiration et de mettre bas, et s'assit vers le sol, puis craqué une bouche, tenant son éclat de rire l'estomac.

    Shuer, le rire de singe hurlant arrêt, il a élargi la bouche incroyable rattaché à la cabane avant le chiffre sept.

    Yeux de singe d'un tableau de bord des différents, il regardait les singes dans la cabane, est finalement tombé à Mouguang les miroirs de bronze anciens ci-dessus, plus t?t, était en fait ce bronze reflète tous les dérivés, directement en profondeur l'esprit humain, qui est un sortes de think Fès signifie alarmante.

    Genki famille, le prince ricana: ?déjà pense qu'il est faux, l'original de vos choses dans méfait."

    Monkeys ne semble pas entendre, en général, à l'heure actuelle sera un doigt fourré dans la bouche, Yiyi bavardage, comme si tous les yeux d'une pate m n'a pas connaissance de, comme un ignorant, mais une patte est est étroitement tenant le miroir de cuivre, personne ne travaillait sens lache de la main.

    Le Morohito presque crié à son tour ses yeux, quelque chose qui peut être installé aussi, vient a failli être trompé dans le passé, au moment de nouveau prétendant.

    La caméra offre Yizu la main-Prince à prendre envers ce que des miroirs en bronze ont été arrêtés, ce miroir de bronze est absolument extraordinaire, peut pénétrer dans l'ame, crochet pour déplacer les choses les plus mémorables, s?rement un Yibao, il peut y avoir un grand secret.

    Bruit

    Singes fixes, les offres Yizu prince de palmiers a chuté miroir en bronze sur le dessus, sur l'or et de fer Jia Ming sonore, le Mars Punta en dehors, d'exclamation étouffée les offres Yizu deux-Prince, paume droite, c'est la vie et la vie se briser brusquement rebondir.

    Gargouillis sang versé, les offrandes visage Yizu prince laid, juste un instant, des miroirs de bronze, il était une coercition Armageddon, la contrainte instantanée éphémère brise son forme.
    135
    prix air max 90 homme : Montag, 14. Mai 2012 11:39

Dein Kommentar hierzu...


Kommentar-Feed für diesen Beitrag
Gravatare werden unterstützt .:. eMail-Adressen werden nicht veröffentlicht
 

RSS-Feed

Die URL des Standard-Newsfeed von zerbit.de lautet:

http://zerbit.de/rssfeed.aspx

Login


 

 

Statistik



kürzlich kommentiert

Artikel 43

  • Datum: 05.09.2005
    Kategorie: Javascript
    Zugriffe: 3.810
    Kommentare: 139
    Trackbacks: 0

Letzte Beiträge

Kategorien

Buttons & More

Blog-Roll

Banner Piraten-Partei