Commit 5e7ad9e4 authored by Pierre M's avatar Pierre M
Browse files

ignore closed 'anonyme' account


Signed-off-by: Pierre M's avatarPierre Mazière <pierre.maziere@gmx.com>
parent 3f99b0c6
2016-11-03 v9
ignore closed 'anonyme' account
2016-10-05 v8
fix 'collectif' again
......
......@@ -2,7 +2,7 @@
// @name DLFPlonk
// @namespace DLFPlonk
// @include https://linuxfr.org/*
// @version 8
// @version 9
// @downloadURL https://framagit.org/peetah/DLFPlonk/raw/master/DLFPlonk.user.js
// @updateURL https://framagit.org/peetah/DLFPlonk/raw/master/DLFPlonk.user.js
// @grant GM_xmlhttpRequest
......@@ -344,7 +344,9 @@
sup.appendChild(a);
span.appendChild(sup);
userLink.parentNode.insertBefore(span,userLink.nextSibling);
if(plonkClosedAccounts && userLink.getAttribute('href') != "/users/collectif"){
if(plonkClosedAccounts &&
userLink.getAttribute('href') != "/users/collectif" &&
userLink.getAttribute('href') != "/users/anonyme"){
GM_xmlhttpRequest({
method: "GET",
url: userLink.href,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment