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 toujours pas donné

Version vom 07.10.2021. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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    		debugPPdofus
// @version 		1
// @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			Painque PAINQUE
// @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==

console.log('[debugPPdofus] - debugPPdofus lancé !');
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\">';