Download pool/shard010/JavaScript/0062700_inject.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 857 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard010/JavaScript/0062700_inject.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard010/JavaScript/0062700_inject.js
-
curl -L -o 0062700_inject.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard010/JavaScript/0062700_inject.js
857 Bytes
| chrome.extension.sendMessage({}, function(response) { | |
| var readyStateCheckInterval = setInterval(function() { | |
| if (document.readyState === "complete") { | |
| clearInterval(readyStateCheckInterval); | |
| console.log("yalebook is running on this page."); | |
| // Set new homepage logo | |
| $('._5lus').html('<img src=' + chrome.extension.getURL('content/yale-logo-white-default.png') + '>'); | |
| $('._5lus').css('position','relative'); | |
| $('._5lus').css('padding-right','12px'); | |
| // Set font to yale font | |
| $('body').css('font-family', 'yalenew'); | |
| $('div').css('font-family', 'yalenew') | |
| $('input').css('font-family', 'yalenew') | |
| // Change colors to yale colors | |
| $('#blueBarNAXAnchor').css('background-image','none'); | |
| $('#blueBarNAXAnchor').css('background-color','#0e4c92'); | |
| // Change page title | |
| document.title = "Yalebook" | |
| } | |
| }, 10); | |
| }); |