This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
for %%a in (%*) do ( | |
ffprobe -v error -select_streams a -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 "%%~fa" | findstr /i "dts" >nul | |
if !errorlevel! equ 0 ( | |
set filename="%%~dpna-ac3.mkv" | |
ffmpeg -i "%%~fa" -vcodec copy -scodec copy -acodec ac3 -b:a 640k %filename% | |
echo converted %filename% | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// save this as a bookmarklet, | |
// go to your viewing history ( via https://www.netflix.com/settings ) | |
// choose your profile and hit your bookmarklet | |
javascript: var mlnk =""; for (var i = 0, l = document.getElementsByTagName("ul")[3].getElementsByTagName("li").length -1; i < l; ++i) { var mydate = document.getElementsByClassName("date")[i].innerText.split("."); if (mydate[1] < 10) { month = "0"+mydate[1] } else { month = mydate[1] } mlnk += mydate[0] + "." + month + "." + mydate[2] + "\t"; mlnk += document.getElementsByClassName("title")[i].innerText + "\n"; } navigator.clipboard.writeText(mlnk); | |
// here's the text in human readable form: | |
javascript: | |
var mlnk = ""; | |
for (var i = 0, l = document.getElementsByTagName("ul")[3].getElementsByTagName("li").length - 1; i < l; ++i) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Pluto TV .m3u8 Grabber FORK | |
// @namespace http://tampermonkey.net/ | |
// @version 1.8.5 | |
// @description Captures m3u8 URLs via XHR and retrieves the last intercepted URL | |
// @author GhostyTongue + mihau | |
// @match *://*.pluto.tv/* | |
// @grant none | |
// @license MIT | |
// @downloadURL https://update.greasyfork.org/scripts/506067/Pluto%20TV%20m3u8%20Grabber.user.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mlnk =""; | |
for (var i = 0, l = document.getElementsByTagName("ul")[3].getElementsByTagName("li").length -1; i < l; ++i) { | |
var mydate = document.getElementsByClassName("date")[i].innerText.split(".") | |
if (mydate[1] < 10) { month = "0"+mydate[1] } else { month = mydate[1] } | |
mlnk += mydate[0] + "." + month + "." + mydate[2] + "\t"; | |
mlnk += document.getElementsByClassName("title")[i].innerText + "\n"; | |
} | |
copy(mlnk) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nix = ""; | |
for (var i = 0, len = document.getElementsByClassName("col1").length; i < len; ++i) { | |
var it = document.getElementsByClassName("col1")[i].innerText; | |
if (it.indexOf("&") == -1) { // optional, obviously | |
nix += document.getElementsByClassName("col1")[i].innerText + "\n"; | |
} | |
} | |
navigator.clipboard.writeText(nix) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SortTable | |
version 2 | |
7th April 2007 | |
Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/ | |
Instructions: | |
Download this file | |
Add <script src="sorttable.js"></script> to your HTML | |
Add class="sortable" to any table you'd like to make sortable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var t = "";$ = function(_) {return document.getElementsByTagName(_)} | |
for (var i = 0, l = __preloadedData.initialData.data.article.sprinkledBody.content.length; i < l; ++i) { | |
var n = __preloadedData.initialData.data.article.sprinkledBody; | |
if (n.content[i].__typename == "ParagraphBlock") {t += '<p class="css-at9mc1 evys1bk0">' + n.content[i].content[0].text + "</p><br /><br />";} | |
} | |
$("body")[0].innerHTML = '<blockquote style="padding:255px"><p class="css-at9mc1 evys1bk0">' + $("header")[1].innerHTML + t + "</p></blockquote>"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getJSON = function(url, callback) { | |
var xhr = new XMLHttpRequest(); | |
xhr.open('GET', url, true); | |
xhr.responseType = 'json'; // or html (returns as accessible document!) or text (default): | |
// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseType | |
xhr.onload = function() { | |
var status = xhr.status; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cuii = new Array() | |
var j = 0; | |
for (var i = 0, l = document.getElementsByTagName("td").length; i < l; ++i) { | |
var td = document.getElementsByTagName("td")[i]; | |
if ((td.innerText.indexOf(".") != -1) && (td.innerText.indexOf("jokerguide") == -1)) { | |
var url = 'https://' + document.getElementsByTagName("td")[i].innerText + '/'; | |
cuii[j] = '<a href="' + url + '">' + url + '</a><br />\n'; | |
j++; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript: var v; if (location.host == "zattoo.com" ) { v = document.getElementById("player_video_node") } else { v = document.getElementsByTagName("video")[0] } v.paused == false ? v.pause() : v.play(); void(0); |
NewerOlder