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)

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

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

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

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

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

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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.

(I already have a user style manager, let me install it!)

// ==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;
}