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
Date: Thu, 01 Jan 1970 00:00:00 +0000 (UTC) | |
From: ABC <abc@example.com> | |
To: XYZ <xyz@example.com> | |
Subject: | |
=?UTF-8?Q?=E7=BB=9F=E4=B8=80=E7=A0=81?= | |
=?UTF-8?Q?=E5=8F=98=E6=88=90=E4=B9=B1=E7=A0=81?= | |
=?us-ascii?Q?_removing_this_part_fixes_the_mojibake?= | |
MIME-Version: 1.0 | |
Content-Type: text/plain; |
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
// ==UserScript== | |
// @name Disable arrow key hijacking | |
// @description Stop websites from hijacking left and right arrow keys. | |
// @author Lionel Rowe | |
// @run-at document-start | |
// @match http://*/* | |
// @match https://*/* | |
// @grant none | |
// @version 0.3 | |
// @namespace https://github.com/lionel-rowe |
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
function getLocaleInfoModule() { | |
const endpoint = 'https://query.wikidata.org/sparql' | |
const headers = { 'Accept': 'application/sparql-results+json' } | |
type Kind = 'language' | 'region' | |
const propertyIds: Record<Kind, { iso2: number; iso3: number }> = { | |
language: { | |
iso2: 218, | |
iso3: 220, | |
}, |
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
// https://dash.deno.com/playground/clearlyloc-phrase-oauth | |
import { marked } from 'npm:marked@5.0.1' | |
import { escape } from 'https://deno.land/std@0.208.0/html/entities.ts' | |
const PHRASE_BASE_URL = 'https://cloud.clearlyloc.com/web/' | |
const CLIENT_ID = 'WOEVUqZPEgEhblG0eOUsR6' | |
function authEndpointFromClientId(clientId: string) { | |
const url = new URL('oauth/authorize', PHRASE_BASE_URL) |
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
// ==UserScript== | |
// @name Yes I Am Sure I Want To Leave YouTube | |
// @namespace https://github.com/lionel-rowe/ | |
// @version 0.1 | |
// @description Disable "Are you sure that you want to leave YouTube?" redirect page | |
// @author https://github.com/lionel-rowe/ | |
// @match https://www.youtube.com/* | |
// @icon https://www.youtube.com/favicon.ico | |
// @updateURL https://gist.github.com/lionel-rowe/130b59a8cd06bdf359f9d4888baefb94/raw/yes-i-am-sure-i-want-to-leave-youtube.user.js | |
// @downloadURL https://gist.github.com/lionel-rowe/130b59a8cd06bdf359f9d4888baefb94/raw/yes-i-am-sure-i-want-to-leave-youtube.user.js |
OlderNewer