- Open Chrome Developer tools and click the Network tab.
- Navigate to the page with the video and get it to start playing.
- Filter the list of files to "m3u8".
- Find master.m3u8 or index.m3u8 and click on it.
- Save the file to disk and look inside it.
- If the file contains a single m3u8 master url, copy that one instead.
- Run the program m3u8x.
- Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
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 _Remove annoying youtube divs | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description these two divs are obfuscating/redacting the videos when in high constrast mode selected, at least for windows 10 | |
// @author yilmazdurmaz | |
// @include | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js | |
// @match http*://*/* | |
// @icon |
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
class Gena { | |
constructor(config) { | |
this.currentGeneration = 0 | |
this.populations = [] | |
this.fitnesses = [] | |
this.mutateProbability = config.mutateProbability || 0.5 // 0 ~ 1 | |
this.generationsSize = config.generationsSize || 100 | |
this.populationSize = config.populationSize || 100 | |
this.doneFitness = config.doneFitness || 1 // 0 ~ 1 |
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
(function (name,url) { | |
if (typeof window[name] === 'undefined') { | |
var s = document.createElement('script'); | |
s.setAttribute('src', url); | |
document.body.appendChild(s); | |
} | |
}("jQuery","https://code.jquery.com/jquery-3.4.1.min.js")); | |
//not possible if CORS(!) or CSP |
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 Image Proxier YD | |
// @namespace https://github.com/YD/Userscripts | |
// @version 1.2 | |
// @description Replaces images from stack.imgur.com and collates them | |
// @author GrumpyCrouton, YILMAZ DURMAZ | |
// @match *://*.stackoverflow.com/* | |
// @match *://*.stackexchange.com/* | |
// @match *://*.superuser.com/* | |
// @grant GM.xmlHttpRequest |
NewerOlder