Huhu!
Wie kann ich mit Greasemonkey dafür sorgen, dass auf einer Website, die Bilder des Formats <Name>b.jpg anzeigt, stattdessen automatisch <Name>.jpg verwendet wird?
Seite 1 von 1
Greasemonkey: Bilder Umbenennen
Anzeige
#2
geschrieben 08. Februar 2007 - 19:35
images = document.getElementsByTagName('img');
for (i=0; i < images.length(); i++) {
img=images.item(i);
img.src=img.src.replace(/b\.jpg$/,'.jpg');
}
Konnichiwa. Manga wo shitte masu ka? Iie? Gomenne, sonoyouna koto ga tabitabi arimasu. Mangaka ojousan nihongo doujinshi desu wa 'Clamp X', 'Ayashi no Ceres', 'Card Captor Sakura', 'Tsubasa', 'Chobits', 'Sakura Taisen', 'Inuyasha' wo 'Ah! Megamisama'. Hai, mangaka gozaimashita desu ni yuujin yori.

Ja, mata ne!
(For sending email please use OpenPGP encryption and signing. KeyID: 0xA0E28D18)

Ja, mata ne!
(For sending email please use OpenPGP encryption and signing. KeyID: 0xA0E28D18)
Thema verteilen:
Seite 1 von 1