Apr 262019
 

Find no working downloader at userscripts or other repositories for Greasemonkey scripts I had to write my own. This provides links instead of video to the video and can download videos that are set as non downloadable by the user or pay to download. Here it is:

// ==UserScript==
 // @author      Trip
 // @version     0.1
 // @name        Access All
 // @description Enabled Downloading of mvideos that you are not meant to be able to
 // @date        2019 March 25
 // @include     pornhub.com/view_video.php
 // @run-at      document-idle
 // @grant       none
 // @license     Public Domain
 // @icon        https://gmgmla.dm2301.livefilestore.com/y2pAKJYeZAp4tG23hG68x1mRuEUQXqb1MxdLbuqVnyyuHFxC7ra5Fc-tfq6hD-r9cNnVufT3egUHaimL547xDlESrOVmQsqNSJ5gzaiSccLYzo/ExtendPornHub-logo.png
 // @namespace   649b97180995e878e7e91b2957ef3bbee0f840a0
 // ==/UserScript==

(function() {
     'use strict';
     console.log("Access All Running");
     function parseScript(script_object)
     {
         if (script_object.innerText == null || !script_object.innerText.trim().startsWith("var flashvars"))
         {return null;} //typeof script_object == 'undefined' ||
         var str=script_object.innerText.trim();
         str=str.substring(str.indexOf("{"))
         var str_end = str.indexOf("var player_mp4_seek = \"ms\";");
         str=str.substring(0,str_end);
         str_end = str.lastIndexOf(";");
         str=str.substring(0,str_end);
         var json = null;
         try {
             json = JSON.parse(str)
         } catch (err) {
             location.reload();
             return null;
         }
         if (json!==null)
         {return json};
         return null;
     };

function make_links(el,json)
{
    var out =""
    for (var i=0;i<json.mediaDefinitions.length;i++)
    {
        if (json.mediaDefinitions[i].videoUrl=="")
            {continue;}
        var a = document.createElement('a');
        var linkText = document.createTextNode(json.mediaDefinitions[i].quality);
        a.appendChild(linkText);
        a.title="Qal"
        a.href = json.mediaDefinitions[i].videoUrl
        //a.download='Test.mp4' //html5
        el.appendChild(a);
        el.appendChild(document.createElement("br"));
    }
    return out;
}

//var all_doc;
//all_doc = document.body.innerHTML;
//console.log(all_doc);
var scripts = document.scripts;
var json = null;
for ( var i=0; i<scripts.length; i++) {
    json=parseScript(scripts[i]);
    if (json!==null)
        {break;}
}
var div = document.createElement("DIV")
//div.style="position: absolute; visibility: visible; left: 20px; top: 300px; height: 75px; width: 150px; z-index: 200;"
div.style="display: block; visibility: visible; left: 10px; bottom: 10px; height: 75px; width: 30px; margin-left: 30px; z-index: 200;"
var out = make_links(div,json);
//replace video with links
var elm_vid_parent = document.getElementById("player").parentNode;
elm_vid_parent.parentNode.replaceChild(div,elm_vid_parent);
console.log('Finished');
})()

Share
Sep 242016
 

slideshow2smPut together a slideshow of all the Met Art free gallery photos found, so far, of the galleries from around 2009. It is still work in progress, will have the images scrolling vertically when in landscape.

Control at the top, click a thumbnail to go to the model, click main image to go to that gallery.

Tested on a few tablet / mobile screen sizes.

 

Share
Sep 182016
 

So wanted to program something and like always I ended up doing some nefarious porn related stuff. Seeing as Met Art moved to a new platform, like around 7 years ago I thought I should put together another slideshow. Here are the results.

maccat

I pulled all the gallery data and made a quick interface so you can get to most of the free gallery pictures in recent years.It’s work in progress, I intend to hack the slideshow into showing the new galleries, of which there are thousands.

Share