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

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==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==

console.log('[debugPPdofus] - debugPPdofus lancé !');

// 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\">';