Gaia Image Patch

Lets Images load directly without using gaia's image cache server (The cache server exist to prevent password protected images from prompting for password)

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        Gaia Image Patch
// @namespace   http://userscripts.org/users/62850
// @description Lets Images load directly without using gaia's image cache server (The cache server exist to prevent password protected images from prompting for password)
// @include     http://www.gaiaonline.com/*
// @version     1
// ==/UserScript==
var imgs=document.evaluate("//img[starts-with(@src,'http://img-cache.cdn.gaiaonline.com/')]",document,null,6,null),img,url;
for(var i=imgs.snapshotLength-1;i>-1;i--){
	img=imgs.snapshotItem(i);
	url=img.src;
	url=url.substr(url.lastIndexOf('/http')+1);
	img.src=url;
}