is it possible to disable all external links ?

405 views
Skip to first unread message

Marian Ion

unread,
Nov 25, 2020, 12:01:51 PM11/25/20
to wkhtmltopdf General

Hello,

Is it possible to disable any access to an external resource ? for instance in my HTML page I have something like <link rel="stylesheet" type="text/css" href="https://..."> is it possible to prevent loading this style ? (even if the rendering will not be ugly).

Basically something equivalent to --disable-javascript but for images, stylesheets,...

George Reynolds

unread,
Nov 25, 2020, 12:41:58 PM11/25/20
to wkhtmltop...@googlegroups.com
I did that before I converted to PDF in my Python code.. not seen an option to do it otherwise sorry 

--
===================================================
You received this message because you are subscribed to the "wkhtmltopdf General" group.
To post to this group, send email to wkhtmltop...@googlegroups.com
To unsubscribe from this group, send email to wkhtmltopdf-gen...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/wkhtmltopdf-general?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "wkhtmltopdf General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wkhtmltopdf-gen...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wkhtmltopdf-general/8adf8d9f-7ce6-4720-bd60-635c0c62a38cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages