mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 11:35:40 +00:00
Don't embed eternal CSS resources
This commit is contained in:
parent
648a962ca4
commit
d0a6ba478e
@ -106,7 +106,7 @@ var embed_js = function(doc) {
|
||||
|
||||
var embed_css = function(doc) {
|
||||
Array.from(doc.querySelectorAll("link")).forEach( link => {
|
||||
if (link.getAttribute('rel') == 'stylesheet') {
|
||||
if (link.getAttribute('rel') == 'stylesheet' && !link.getAttribute("href")) {
|
||||
const style = doc.createElement("style");
|
||||
var href = link.getAttribute('href');
|
||||
let [path, get_parameters, anchor] = split_url(href);
|
||||
|
Loading…
x
Reference in New Issue
Block a user