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
// remove that ugly shitty annoying blue gradient background | |
document.querySelector(".ardplayer-background").style.opacity = '0' | |
let o_media_player = document.querySelector(".mediaplayer"); | |
let o_mod = await import('https://deno.land/x/[email protected]/mod.js') | |
let o_vid = document.querySelector('.ardplayer-mediacanvas') | |
let o_state = { | |
n_sec_current: 0, |
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
// o , how annoying it was to constantly stay over the slider with the mouse while moving it | |
let f_a_n_trn__relative_to_o_html = function( | |
a_n__trn_mouse, | |
o_el | |
){ | |
const o_brect = o_el.getBoundingClientRect(); | |
return [ | |
a_n__trn_mouse[0] - o_brect.left, | |
a_n__trn_mouse[1] - o_brect.top |
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
let a_n = [ | |
1, -2, -3, -10, 10, -10,-3, -2, -3, 322, -322,-4, -4, 1234 | |
]; | |
let n_sum_max = 0; | |
let n_idx_start_sum_max = 0; | |
let n_idx_end_sum_max = 0; | |
let n_idx_start = 0; | |
let n_idx_end = a_n.length; |
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
Zack, the quick fox with 5 zealous cubs, jumps over 12 lazy dogs at 3:45 pm. Exciting visuals coax 7 zebras from vast, cozy dens by 6 exotic trees. 4 jazzy clubs buzz with 89 vivacious xylophones. Zac fixes the complex quiz vexingly for 2 hours. 13 cozy foxes doze in the buzzing, hazy glen of 9 acres. Vexing jinx mocks wiz quiz 78 times. Climb 5 jazzy rocks, vexing the lazy quokka with 0 effort. Exceedingly zippy crows vex 3 dwarfish gnomes. Jack quizzes the vexed cymbal on 10 xylophone jazz pieces. Buzzing bees vex the lazy coxswain 24/7. Juxtapose the 6 exotic crows and 11 zany foxes. | |
Zack, the quick fox, jumps over each lazy dog. Exciting visuals coax zebras from vast, cozy dens. Exotic jazz clubs buzz with vivacious xylophones. Zac fixes the complex quiz vexingly. Cozy foxes doze in the buzzing, hazy glen. Vexing jinx mocks wiz quiz. Climb jazzy rocks, vexing the lazy quokka. Exceedingly zippy crows vex dwarfish gnomes. Jack quizzes the vexed cymbal on xylophone jazz. Buzzing bees vex the lazy coxswain |
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
import { | |
f_o_command | |
} from "https://deno.land/x/[email protected]/mod.js" | |
let s_path = Deno.cwd(); | |
for await(const o_entry of Deno.readDir(s_path)){ | |
if(o_entry.isDirectory){ | |
let s_path_folder = s_path + '/' + o_entry.name; | |
Deno.chdir(s_path_folder); | |
try { |
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
let f_a_o_from_o_doc = function(o_doc){ | |
let a_o = Array.from(o_doc.querySelectorAll('a')).filter(v=>v.innerText.includes('/')) | |
return a_o | |
} | |
let f_recursive_show_direcotries = async function( | |
o_doc, | |
n_it_max_recursion = 1, | |
n_it_recursion = 0, | |
s_url=window.location.href |
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
// i often want to see how a channel has started, so i want to have a look at the oldest videos of a channel, | |
// yt removed the sort by date function so here is a script when pasted it will automatically scroll to the bottom of the page | |
// ctrl+shift+i > console > paste code | |
window.setInterval(function(){ | |
document.documentElement.scrollTo(0, document.documentElement.scrollHeight); | |
},10) |
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
// import {f_o_html_from_o_js} from "https://deno.land/x/[email protected]/mod.js"; | |
// use this chrome extension to inject the script on youtube pages including /shorts/ in the url | |
// https://chrome.google.com/webstore/detail/user-javascript-and-css/nbhcbdghjpllgmfilhnhkllmkecfmpld | |
var o_s_prop_name_s_attribute_name = { | |
"s_inner_text": "innerText", | |
} | |
let f_b_is_js_object = function(value){ | |
return typeof value === 'object' && value !== null; | |
} | |
var f_o_html_from_o_js = function( |
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
var f_display_editor = null; | |
class O_error{ | |
constructor( | |
n_idx_line, | |
s_text | |
){ | |
this.n_idx_line = n_idx_line | |
this.s_text = s_text | |
} |