1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
- 1 - i - l - I - L
- 2 - z - Z
- 5 - s - S
- 8 - B
- 9 - q
- 0 - o - O
// ==UserScript== | |
// @name カクヨム一字下げスクリプト | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-05-24 | |
// @description try to take over the world! | |
// @author You | |
// @match https://kakuyomu.jp/works/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=kakuyomu.jp | |
// @grant none | |
// ==/UserScript== |
{ | |
"type": "Document", | |
"raw": "a《《1》》b《2》c《《《3》》》d|《《4》》e《《5》》f", | |
"range": [ | |
0, | |
32 | |
], | |
"loc": { | |
"start": { | |
"line": 1, |
const fs = require("fs") | |
const dayjs = require("dayjs") | |
const json = require("./wpdata.json") | |
console.log(`ファイル数:${json.length}`) | |
json.forEach((post, index) => { | |
const date = `${post.date}+09:00` | |
const modified = `${post.modified}+09:00` |
{ | |
"title": "カスタムルール", | |
"rules": [ | |
{ | |
"description": "右Cmd空打ちでIME切り替え", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"type": "input_source_if", |
{ | |
"name": "Unformed Building", | |
"source": "google_analytics", | |
"dataByBrowser": { | |
"ie": { | |
"6": 0, | |
"7": 0.016210082671421624, | |
"8": 0.18641595072134867, | |
"9": 0.09726049602852974, | |
"10": 0.17020586804992707, |
function noScrollFocus(element) { | |
const x = window.scrollX || window.pageXOffset; | |
const y = window.scrollY || window.pageYOffset; | |
element.focus(); | |
window.scrollTo(x, y); | |
} |
https://bugzilla.mozilla.org/show_bug.cgi?id=1081858
https://drafts.csswg.org/css-text/#line-break-transform
2つ目の条件の F
だの H
だのについて
// http://paulownia.hatenablog.com/entry/20100420/1271769659 | |
@function alphafy($front, $back, $alpha) { | |
$r: round((red($front) - red($back) * (1 - $alpha)) / $alpha); | |
$g: round((green($front) - green($back) * (1 - $alpha)) / $alpha); | |
$b: round((blue($front) - blue($back) * (1 - $alpha)) / $alpha); | |
@if($r < 0) {$r: 0;} | |
@if($r > 255) {$r: 255} | |
@if($g < 0) {$g: 0;} | |
@if($g > 255) {$g: 255} | |
@if($b < 0) {$b: 0;} |
<script src="path/to/style-match-tester.js"></script> | |
<script> | |
var config = { | |
"html": { | |
pseudo: "::before", | |
prop: { | |
"display": "block", | |
"border-top-width": "0", | |
"font-size": "", |