Based on the logos/main colors used for the crypto
- BTC #f69c3d
- ETH #497493
- VTC #205b30
- DASH #1376b5
- XMR #fc6621
| jQuery('.subjectCell').each(function(i,e){ var url = 'https://www.youtube.com/results?search_query='+encodeURIComponent(jQuery.trim(jQuery(e).text())); window.open(url,'_blank'); }); |
| var links = $('a[onclick="return fixone(this)"]'); | |
| function makeitso(a,i) { | |
| if (i < a.length) { | |
| setTimeout(function() { | |
| console.log("Clicking next link"); | |
| a[i].click(); | |
| makeitso(a, i+1); | |
| }, 1000*15); | |
| } else { | |
| console.log('DONE!!'); |
| open -na Google\ Chrome --args --disable-web-security --user-data-dir="/tmp/chrome_dev" |
| mkdir my_project | |
| cd my_project | |
| npx license mit > LICENSE | |
| npx gitignore node | |
| npx covgen stmataic@gmail.com | |
| npm init -y |
| npm set init.author.name "STM" | |
| npm set init.author.email "sasa@mataic.com" | |
| npm set init.author.url "https://mataic.com" | |
| npm set init.license "MIT" | |
| npm set init.version "1.0.0" |
| # Don't track files in this directory | |
| * | |
| # Don't track subdirs even | |
| */ | |
| # Except this file | |
| !.gitignore |
Once the project dir is created and initialized, install nodemon for development only
npm install nodemon --save-dev
| // find the first video tag, select the src attr in the source tag which matches "video/mp4" | |
| const s = document.querySelectorAll("video:first-child source[type='video/mp4'"); | |
| window.location = s[0].src; |