- Copy the contents of
youtube-playlist-tally.js - Open a YouTube playlist in your browser
- Important: Do not scroll down; this will load recommendations, which will mess up the tally!
- Open your browser's devtools → Console
- Paste the contents of your clipboard and press Enter
- Done! Your console should return the total runtime of the playlist as a string.
This file contains hidden or 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
| { | |
| "recommendations": [ | |
| "dbaeumer.vscode-eslint", | |
| "editorconfig.editorconfig", | |
| "github.github-vscode-theme", | |
| "github.vscode-github-actions", | |
| "github.vscode-pull-request-github", | |
| "mhutchie.git-graph" | |
| ] | |
| } |
This file contains hidden or 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
| module.exports = { | |
| // colors | |
| colorNavy: 'rgba(0, 25, 53, 1)', | |
| colorBlue: 'rgba(0, 184, 255, 1)', | |
| colorPurple: 'rgba(124, 92, 255, 1)', | |
| colorPink: 'rgba(255, 97, 206, 1)', | |
| colorRed: 'rgba(255, 73, 48, 1)', | |
| colorOrange: 'rgba(255, 138, 0, 1)', | |
| colorYellow: 'rgba(232, 215, 58, 1)', | |
| colorGreen: 'rgba(1, 207, 53, 1)', |
Note
Grouped by family; the final number is the minimum number of transfers needed from a Generation IV game in order to complete the National Pokédex 100% legitimately in Generation V.
Note
Mythical Pokémon are not listed here, regardless of availability.
Note
The Pokémon Dream Radar is counted as a Generation V game; Radar-exclusive Pokémon are not counted below.
This file contains hidden or 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
| tumblr.getCssMap().then(cssMap => { | |
| const keys = Object.keys(cssMap); | |
| const elements = document.querySelectorAll('[class]'); | |
| for (const { classList } of elements) { | |
| for (const className of classList) { | |
| const mappedClassName = keys.find(key => cssMap[key].includes(className)); | |
| if (mappedClassName) classList.add(`style-${mappedClassName}--${className}`); | |
| } | |
| } | |
| }); |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| :root { | |
| writing-mode: horizontal-tb; | |
| } | |
| body { | |
| display: flex; |
This file contains hidden or 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
| window.tumblr.getCssMap().then(cssMap => ['adTimelineObject', 'instreamAd', 'mrecContainer', 'nativeIponWebAd', 'takeoverBanner'] | |
| .flatMap(sourceName => cssMap[sourceName]) | |
| .map(className => `tumblr.com##.${className}`) | |
| .join('\n') | |
| ).then(console.log); |
This file contains hidden or 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 iframe = document.querySelector('iframe[src^="https://www.tumblr.com/dashboard/iframe"]'); | |
| const modifiedSrc = new URL(iframe.src); | |
| const { hash } = modifiedSrc; | |
| const decodedHash = decodeURIComponent(hash); | |
| const parsedHash = JSON.parse(decodedHash.substring(1)); | |
| Object.assign(parsedHash, { isOpticaLike: true, useThemeColors: true }); | |
| const newHash = JSON.stringify(parsedHash); | |
| const encodedHash = encodeURIComponent(newHash); |
This file contains hidden or 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
| .post-content div.npf_row, | |
| .post div.npf_row, | |
| body div.npf_row { | |
| align-items: stretch; | |
| } | |
| .post-content div.npf_row .npf_col, | |
| .post div.npf_row .npf_col, | |
| body div.npf_row .npf_col { | |
| display: flex; |
NewerOlder