Xhamster Helper - Spam user indicator + infos about DELETED Users v.51

The SPAM indicator is now (with the New Xhamster design) the only useful infos

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name          Xhamster Helper - Spam user indicator + infos about DELETED Users v.51
// @namespace     https://greasyfork.org/en/users/7434-janvier56
// @description   The SPAM indicator is now (with the New Xhamster design) the only useful infos
//
// @version       v.51
//
// @include       https://*xhamster.com/*
//
// @require       https://greasyfork.org/scripts/24621-lib-add-stylish-string/code/lib-add-stylish-string.js
//
// @run-at        document-start
//
// @resource      css  https://pastebin.com/raw/VruvGQTw
//
// @grant         GM_getResourceText
//
// ==/UserScript==

window.addStylish(GM_getResourceText('css'));
/*
======== pseudo elements  - innerHTML - Using attr(), with pseudo-elements and JavaScript
== https://tiffanybbrown.com/2014/11/using-attr-with-pseudo-elements-and-javascript/
 we'll set a data-txt attribute using DOM scripting.
 Here we've just copied the innerHTML of our paragraph element 
 to the data-txt attribute when the DOMContentLoaded event fires.
window.addEventListener('DOMContentLoaded', function(){
    var p = document.querySelector('p');
    p.dataset.txt = p.innerHTML;
}
window.addEventListener('DOMContentLoaded', function(){
    var p = document.querySelector('p');
    p.dataset.txt = p.innerHTML;
    p.classList.add('triptych');
},false);

*/
window.addEventListener('DOMContentLoaded', function(){
    var p = document.querySelector('.entity-author-container__name>span');
    p.dataset.txt = p.innerHTML;
    p.classList.add('DEL');
},false);