Sleazy Fork is available in English.

Xhamster Helper - Totally or Viewable DELETED Users (comp Beta) v.36

Companion for my fork of Xhamster Private Profiles : mark viewable deleted user with a Green X ((lib-add-stylish-string))

À partir de 2017-12-12. Voir la dernière version.

// ==UserScript==
// @name          Xhamster Helper - Totally or Viewable DELETED Users (comp Beta) v.36
// @namespace     https://greasyfork.org/en/users/7434-janvier56
// @description   Companion for my fork of Xhamster Private Profiles : mark viewable deleted user with a Green X ((lib-add-stylish-string))
//
// @version       v.36
//
// @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/g4Hx8GHP
//
// @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);