Skip to content

Instantly share code, notes, and snippets.

View vercte's full-sized avatar
💻
Programming (this is GitHub btw)

Vercte vercte

💻
Programming (this is GitHub btw)
View GitHub Profile
@vercte
vercte / doc.md
Created June 17, 2023 12:09
Dictionary Extension Documentation (Turbowarp)

The icon for the Dictionaries Extension

Use the extension 👉 Editor

Documention

Reporters/Booleans

(list of dictionaries)

Returns a space-separated list of all the active, non-empty dictionaries.

(stringify dictionary (foo) into JSON)

Returns a dictionary that is converted back into JSON; for example, foo = bar turns into { foo: bar }

(get key (bar) from dictionary [foo v])

Gets the key bar from dictionary foo; in bar = baz this will return baz.

@vercte
vercte / README.md
Created May 10, 2023 22:29
QuickPad - Text Editor Bookmarklet

QuickPad

Quickpad is a quick, easy to use notepad that you can activate just by clicking a bookmark in your browser. Nothing much, really; just something I made because I wanted.

Quickpad.js is the main, unbookmarkified code; for bookmark purposes, triple-click quickpad.bkmk.txt and drag it to your bookmarks bar.

@vercte
vercte / README.md
Last active May 25, 2022 02:40
Adventures in RegEx: Cookie parser (EMCAScript flavor)

Parses a document's cookie Use:

let cookie = parseCookie(document.cookie)
if(cookie.theme) {
  setTheme("darkMode");
}
@vercte
vercte / README.md
Last active May 19, 2022 16:29
><> (Fish) echo program
@vercte
vercte / readme.md
Last active May 17, 2022 18:38
Removlet (bookmarklet)

Removlet

Easily remove elements from a page, with a easy interface! Click to remove an element, and alt+enter to stop removing until you click again.

Installation

Highlight the entirety of removlet.txt and drag it to the bookmarks bar. If you have suspicion of any bugs, look in the dev console and report any errors to me!

NOTE: Do not use this bookmark twice before disabling it; it will bug out that way.

@vercte
vercte / skipyt.txt
Created December 10, 2021 22:25
Skip Youtube Ads (JS)
javascript:
// use in a bookmark, you have to click it
document.querySelector("video").currentTime = document.querySelector("video").duration