Xhamster Try to Show Videos/favorites of Deleted Users [DEPRECATED]

Try (when it's possible) to Show Videos/favorites of Deleted Users (from USO, By Draly24 )

// ==UserScript==
// @name           Xhamster Try to Show Videos/favorites of Deleted Users [DEPRECATED]

// @version 0.9

// tweak FROM      http://userscripts-mirror.org/scripts/review/486335

// @namespace      http://userscripts.org/user
// @homepage       https://greasyfork.org/fr/users/7434-janvier56

// @description    Try (when it's possible) to Show Videos/favorites of Deleted Users (from USO, By Draly24 )


// @include        https://xhamster.com/user/*
// @include        https://*.xhamster.com/*

// @include        https://xhamster.com/*
// @include        https://xhamster.com/user/*

// @exclude        https://*.xhamster.com/user/*new-*.html

// @exclude        https://xhamster.com/user/video/*/new-*.html*
// @exclude        https://xhamster.com/user/*/favorite-*.html*



// @exclude        https://xhamster.com/movies/*
// @exclude        https://xhamster.com/photos/*
// @exclude        https://xhamster.com/posts/*
// @exclude        https://xhamster.com/favorites/*
// @exclude        https://xhamster.com/related/photos*
// @exclude        https://xhamster.com/pornstars/*
// @exclude        https://xhamster.com/movies/*
// @exclude        https://xhamster.com/channels/*
// @exclude        https://xhamster.com/rankings/*
// @exclude        https://xhamster.com/related/videos?g=*
// @exclude        https://xhamster.com/stories/*
// @exclude        https://xhamster.com/blog/*

// @exclude        https://xhamster.com/videofeatured?*
// @exclude        https://xhamster.com/embedded_video.php?v=*

// @exclude        https://xhamster.com/xembed.php?video=*

// @exclude        https://xhamster.com/user/*/messages*
// @exclude        https://xhamster.com/users/*/blog*

// @exclude        https://xhamster.com/search.php?q=*
// @exclude        https://xhamster.com/last50.php
// @exclude        https://xhamster.com/account_settings.php
// @exclude        https://xhamster.com/manage_post.php
// @exclude        https://xhamster.com/contact_list.php
// @exclude        https://xhamster.com/my_news.php*
// @exclude        https://xhamster.com/my_fav_users.php

// @exclude        https://xhamster.com/my/*
// @exclude        https://xhamster.com/my/friends*
// @exclude        https://xhamster.com/my/favorites/*
// @exclude        https://xhamster.com/my/friend-requests
// @exclude        https://xhamster.com/my/blocked-users*
// @exclude	       https://xhamster.com/my/news*


// @exclude        https://xhamster.com/my_subscriptions.php



// @grant none
// ==/UserScript==


// found VIDEO PAGE for "not found" user: 
// From Player Video Page > click on user name send to "user not found" 
// >click "vid" button send to its Video page

// USER VIDEO page LINK change 2017 / 05 : 
// NEW link - https://xhamster.com/users/cutepenisboy/videos
// OLD link - https://xhamster.com/user/cutepenisboy/videos/new-1.html

// FAV VIDEO page LINK change 2017 / 05 :
// NEW link - https://xhamster.com/users/kate79/favorites/videos
// OLD LINK - https://xhamster.com/user/video/kate79/favorite-1.html

// TEST BLOG NEW link:           https://xhamster.com/users/janvier57/blog
// TEST FAV BLOG OLD link:       https://xhamster.com/user/janvier57/posts/favorite-1.html
// TEST FAV BLOG OLD link:       https://xhamster.com/users/janvier57/favorites/stories


// TEST GALLERIES OLD link:      https://xhamster.com/user/photo/janvier57/new-1.html
// TEST GALLERIES NEW link:      https://xhamster.com/users/janvier57/photos

// TEST FAV GALLERIES OLD link:  https://xhamster.com/user/photo/janvier57/favorite-1.html
// TEST FAV GALLERIES NEW link:  https://xhamster.com/users/janvier57/favorites/photos


// VID BUTTON
// change 2017 / 05 : https://xhamster.com/users/soiree22/videos
var input=document.createElement("input");
input.type="button";
input.value="V";
input.onclick = gotovids;
input.setAttribute("style", "font-size:10px;position:absolute;top:44px;left:3px;z-index:500!important;cursor:pointer!important; height:16px; line-height:9px;");
document.body.appendChild(input);
 
function gotovids()
{
   var firstPart = 'https://xhamster.com/users/';
   var lastPart = window.location.href.match(/users\/(.*)/)[1];
   window.location.href = firstPart + lastPart + '/videos';
}


// FAV BUTTON
// change 2017 / 05 : https://xhamster.com/users/kate79/favorites/videos
var input=document.createElement("input");
input.type="button";
input.value="F";
input.onclick = gotofav;
input.setAttribute("style", "font-size:10px;position:absolute;top:44px;left:22px;z-index:500!important;cursor:pointer!important; height:16px; line-height:9px;");
document.body.appendChild(input);
 
function gotofav()
{
   var firstPart = 'https://xhamster.com/users/';
   var lastPart = window.location.href.match(/users\/(.*)/)[1];
   window.location.href = firstPart + lastPart + '/favorites/videos';
}


// SUPP - BLOG BUTTON- NOT WORKING ??
// https://xhamster.com/users/gianpietro99/blog
/*
var input=document.createElement("input");
input.type="button";
input.value="B";
input.onclick = gotoblog;
input.setAttribute("style", "font-size:10px;position:absolute;top:44px;left:40px;z-index:500!important;cursor:pointer!important; height:16px; line-height:9px;");
document.body.appendChild(input);
 
function gotoblog()
{
   var firstPart = 'https://xhamster.com/users/';
   var lastPart = window.location.href.match(/users\/(.*)/)[1];
   window.location.href = firstPart + lastPart + '/blog';
}
*/


// SUPP PIC BUTTON
/* var input=document.createElement("input");
input.type="button";
input.value="pics";
input.onclick = gotopics;
input.setAttribute("style", "font-size:10px;position:absolute;top:44px;left:34px;z-index:500!important;cursor:pointer!important;");
document.body.appendChild(input);
 
function gotopics()
{
   var firstPart = 'http://xhamster.com/user/';
   var lastPart = window.location.href.match(/user\/(.*)/)[1];
   window.location.href = firstPart + 'photo/' + lastPart + '/new-1.html';
}
*/