exhentai no https

access the site with http

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name        exhentai no https
// @namespace   js.replacer.string
// @include     http://exhentai.org/*
// @version     1
// @grant       none
// @description access the site with http
// ==/UserScript==

document.body.innerHTML = document.body.innerHTML.replace(/(http|inits)s/g, '$1');

var css = document.createElement('link');
css.setAttribute("rel", "stylesheet");
css.setAttribute("type", "text/css");
css.setAttribute("href", "http://exhentai.org/z/0320/x.css");

document.getElementsByTagName("head")[0].appendChild(css);

var script = document.createElement('script');
script.setAttribute("type", "text/javascript");
script.setAttribute("src", "/z/0320/ehg_index.c.js");
document.getElementsByTagName("head")[0].appendChild(script);
script = document.createElement('script');
script.setAttribute("type", "text/javascript");
script.setAttribute("src", "/z/0320/ehg_gallery.c.js");
document.getElementsByTagName("head")[0].appendChild(script);

document.body.onload = function () {
	window.load_pane_image = function (b) {if (b != undefined) {var a = b.innerHTML.split("~", 4);if (a.length == 4) {if (a[0] == "init") {b.innerHTML='<img src="http://'+a[1]+"/"+a[2]+'" alt="'+a[3]+'" style="margin:0" />';} else if (a[0]=="inits") {b.innerHTML='<img src="http://'+a[1]+"/"+a[2]+'" alt="'+a[3]+'" style="margin:0" />'}}}}
}