Greasy Fork is available in English.

show tumblr video url

show tumblr video url a

// ==UserScript==
// @name        show tumblr video url
// @namespace   thunderhit
// @description show tumblr video url a
// @include     https://www.tumblr.com/video/*
// @version     1.0
// @grant       none
// @run-at      document-end
// ==/UserScript==
function geturl(){
  var v = document.querySelectorAll('.vjs-tech');
  var a = document.createElement('a');
  a.textContent = 'URL';
  if (v) {
    var video = v[0].firstElementChild.src;
    a.href = video;
    a.target = '_blank';
    a.style = 'position:relative;z-index:99;bottom:40px;left: 10px;';
    v[0].parentElement.appendChild(a);
    console.log(video,a);
    
  }
}
setTimeout(geturl,2000);