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 Rewrite words | |
// @description Rewrite words | |
// @grant GM_log | |
// @match *://*/* | |
// @version 1 | |
// ==/UserScript== | |
setInterval (function() { doReplace() }, 1000); |
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
const fs = require('fs'); | |
let rawdata = fs.readFileSync('input.json'); | |
let parsed = JSON.parse(rawdata); | |
let prettified = JSON.stringify(parsed, null, " "); | |
fs.writeFileSync('output.json', prettified); |
OlderNewer