mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Also ignore domready for about: urls
This commit is contained in:
parent
4e72452688
commit
a0c9005d69
@ -21,7 +21,7 @@
|
||||
send_msg({type: 'print', text: text});
|
||||
}
|
||||
|
||||
if (!document.location.href.startsWith('chrome-error://')) {
|
||||
if (!document.location.href.startsWith('chrome-error:') && !document.location.href.startsWith('about:')) {
|
||||
send_msg({type: 'domready', html: new XMLSerializer().serializeToString(document)});
|
||||
}
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user