xhamsterPrivateProfiles (tweak Janvier56)

Takes you to private profiles pics and vids on xHamster (from USO, By Draly24 )

As of 2015-05-15. See the latest version.

// ==UserScript==
// @name           xhamsterPrivateProfiles (tweak Janvier56)
// http://userscripts-mirror.org/scripts/review/486335
// @namespace      http://userscripts.org/user
// @description    Takes you to private profiles pics and vids on xHamster (from USO, By Draly24 )
// @include        http://xhamster.com/user/*
// @exclude        http://xhamster.com/user/*new-*.html
// @version 0.0.1.20150515175513
// ==/UserScript==



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

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';
}