Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PII Masking with Compromise.js</title>
<script src="https://unpkg.com/compromise@14.14.3/builds/compromise.js"></script>
<!-- <script src="https://unpkg.com/compromise-dates"></script> -->
{
" 时": "hour",
",你的版本是最新的,无需升级。": "Your firmware is the current version!",
"(UTC-12)国际日期变更线西": "(UTC-12) International West",
"(UTC-2)中大西洋": "(UTC-2) in Atlantic",
"(UTC-6)中美洲": "(UTC-6) Central America",
"(UTC-6)中部时间(美国和加拿大)": "(UTC-6) Central Time (US &amp; Canada)",
"(UTC+1)中非西部": "(UTC + 1) West Africa",
"(UTC+3)加里宁格勒": "(UTC + 3) Kaliningrad, Moscow",
"《用户体验改善计划》": "User Experience Improvement Program",
@eclemens
eclemens / google-maps-concurrence-hint.user.js
Last active November 5, 2022 01:03
Displays the percentage of concurrence on hover
// ==UserScript==
// @name Google Maps - Concurrence Hint
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Displays the percentage of concurrence on hover
// @author Eduardo Clemens
// @match https://www.google.com/maps/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=maps.google.com
// @grant none
// @downloadURL https://gist.github.com/eclemens/af9758f8f665a3951e0493f456fc1738/raw/google-maps-concurrence-hint.user.js
// ==UserScript==
// @name Instagram Keyboard Shortcuts for Power User
// @namespace http://tampermonkey.net/
// @version 2.4.13
// @description Scroll through posts with J/K, like with L, save with O, play/stop with P, fullscreen with F. Consistent with Gmail, Twitter, Tumblr, etc.
// @author Eduardo Clemens (adapted from French Bond)
// @match https://www.instagram.com/*
// @icon https://www.instagram.com/static/images/ico/favicon.ico/36b3ee2d91ed.ico
// @grant none
// @require https://code.jquery.com/jquery-3.7.1.min.js
@eclemens
eclemens / dinopass.user.js
Last active September 1, 2022 20:11
DinoPass Generator: Adds DinoPass generate and copy password to the context menu
// ==UserScript==
// @name DinoPass
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Adds DinoPass generate and copy password to the context menu
// @author Eduardo Clemens
// @include *
// @icon https://www.dinopass.com/assets/favicon.ico
// @grant GM_registerMenuCommand
// @grant GM_setClipboard
@eclemens
eclemens / instagram-keyboard-shortcuts.user.js
Last active September 28, 2022 18:22
Instagram Shortcuts: Scroll through posts with standard J/K keyboard shortcuts. L to like, S to save, P to play/stop.
// ==UserScript==
// @name Instagram Keyboard Shortcuts for Power User
// @namespace http://tampermonkey.net/
// @version 2.3.35
// @description Scroll through posts with standard J/K keyboard shortcuts. L to like, O to save, P to play/stop. Why J/K navigation? Because it's also used in Facebook, Twitter, Tumblr, Gmail, etc.
// @author Eduardo Clemens adapted from French Bond
// @match https://www.instagram.com/*
// @icon https://www.instagram.com/static/images/ico/favicon.ico/36b3ee2d91ed.ico
// @grant none
// @require https://code.jquery.com/jquery-3.6.0.min.js