debugPPdofus

Remplace l'image du premier slot de dofus des pages persos par une image provenant de dofusroom parce que ces demeurés n'ont

Stan na 07-10-2021. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        debugPPdofus
// @version     2
// @description Remplace l'image du premier slot de dofus des pages persos par une image provenant de dofusroom parce que ces demeurés n'ont
//              toujours pas donné le privilège de lecture aux utilisateurs 2 ans après la sortie des items.
// @grant       none
// @author      Rolf-Peter Früschke
// @match       https://www.dofus.com/fr/mmorpg/communaute/annuaires/pages-persos/*
// @icon        https://www.dofusroom.com/img/assets/items/217002.png
// @namespace   https://greasyfork.org/users/752738
// ==/UserScript==

// Prytek
var pryfus = document.querySelectorAll('[class="ak-linker"]')[10].innerHTML;
var id = pryfus.split('52/')[1].split('.png')[0];
document.querySelectorAll('[class="ak-linker"]')[10].innerHTML = '<img src=\"https://www.dofusroom.com/img/assets/items/'+id+'.png\">';

// Anneau de Brouce
var brouce = document.querySelector('[data-hasqtip="linker_item_13115"]').innerHTML;
id = 9249;
document.querySelector('[data-hasqtip="linker_item_13115"]').innerHTML = '<img src=\"https://www.dofusroom.com/img/assets/items/'+id+'.png\">';