Pendigard's picture
Upload folder using huggingface_hub (part 113)
1abfaca verified
Raw History Blame Contribute Delete
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);
});