Move addStyle to default.js
This commit is contained in:
parent
dcbbf12d2e
commit
69f38e6d17
|
@ -18,4 +18,4 @@
|
|||
!.gvimrc
|
||||
!.vim/*
|
||||
|
||||
!.js/*.js
|
||||
!.js/
|
|
@ -0,0 +1,3 @@
|
|||
function addStyle(style) {
|
||||
$("body").after(`<style>${style}</style>`);
|
||||
}
|
|
@ -1,10 +1,6 @@
|
|||
// utils
|
||||
let repoUrl = $("div.repohead-details-container > h1.public > strong[itemprop=name] > a").attr("href");
|
||||
|
||||
function addStyle(style) {
|
||||
$("body").after(`<style>${style}</style>`);
|
||||
}
|
||||
|
||||
// don't use the (ugly) new font
|
||||
// $("body").css("font-family", $("body").css("font-family").replace("BlinkMacSystemFont,", ""));
|
||||
|
||||
|
|
Loading…
Reference in New Issue