🎯
- royin.in, sadhansangha.org
- https://youtube.com/astrarudra
- astrarudra
- astrarudra
- @rudraroy91
This file contains 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
/* | |
Author: Rudra Roy | |
Tutodial/Demo: https://www.youtube.com/watch?v=KsMNGolq-Fs | |
Description: | |
This script deletes all business chats from WhatsApp Web. | |
It is usefulsince most business chats are spam and are not useful. | |
This script is to be run in the console of the WhatsApp Web page. | |
*/ | |
const contextMenuEvent = new MouseEvent("contextmenu", { |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>WebGL Test</title> | |
<script> | |
window.onload = function() { | |
var canvas = document.createElement('canvas'); | |
document.body.appendChild(canvas); |
This file contains 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
const filterYTVideoFormats = (info) => { | |
const { formats, requested_formats } = info | |
let bestAudio = requested_formats.find(o => o.vcodec === "none") | |
const filteredFormats = Object.values(formats.reduce((acc, curr) => { | |
if(!curr.height || curr.height < 480 || curr.format_note === "Premium") return acc | |
curr.vcodec = curr.vcodec.split('.')[0] | |
const selected = acc[curr.height] | |
// Already there is a selecton for this height - Select Better, use approx if filesize not available | |
if(selected){ | |
let better = false |
NewerOlder