Skip to content

Instantly share code, notes, and snippets.

View jonasfrey's full-sized avatar
🪟
looking out the window

Jonas jonasfrey

🪟
looking out the window
  • Switzerland
View GitHub Profile
@jonasfrey
jonasfrey / yt_shorts_slider.js
Last active March 7, 2023 21:17
a time slider for youtube short videos
// 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(
@jonasfrey
jonasfrey / monaco_vscode_editor_for_shadertoy.js
Last active April 2, 2023 20:26
monaco /vscode editor for shadertoy.com
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
}