View export.js
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
(() => { | |
indexedDB.open('postman-app').onsuccess = async event => { | |
let db = event.target.result; | |
let transaction = db.transaction(db.objectStoreNames); | |
// TODO: Create and download a file instead of outputting the contents | |
console.log( | |
Object.fromEntries( | |
await Promise.all( | |
[...db.objectStoreNames] | |
.map( |
View 00_export_history.js
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
(async function() { | |
const filename = 'postman-history-export.json'; | |
const download = (function() { | |
const element = document.createElement('a'); | |
return function(filename, contents) { | |
element.setAttribute('href', URL.createObjectURL(new Blob([contents]))); | |
element.setAttribute('download', filename); | |
element.click(); |
View style.css
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
/* | |
Download a plugin for your browser to load custom css, then use this to hide all youtube recomendations and avoid distractions. | |
For instance, you can download Stylebot: https://stylebot.dev/ | |
*/ | |
div.style-scope.ytd-rich-grid-renderer { | |
display: none; | |
} | |
div.style-scope.ytd-compact-video-renderer { |