Eirik Schwenke skrev 14. juni 2010 16:08:
(...)
For further reference, as has been mentioned on this list before, there exist the possibility of rendering webpages "headlessly" using the webkit rendering engine and the webkit2png-tool[1] on mac, or khtml2png[2] under linux. I don't think either of these packages execute javascript, however.


Actually, from the khtml-help text:

  --disable-js           Enable/Disable javascript (enabled by default)
  --disable-java         Enable/Disable java (enabled by default)
  --disable-plugins      Enable/Disable KHTML plugins (like Flash
                           player, enabled by default)
  --disable-redirect     Enable/Disable auto-redirect by header <meta >
                           (enabled by default)
  --disable-popupkiller  Enable/Disable popup auto-kill (enabled by
                            default)

I also just found out that khtml2png doesn't work with xmonad, and probably has problems with other windowmanagers.

Works fine with the "-b" option:

  -b, --disable-window  If set, don't show the window when doing
                          rendering (can lead to missing items)
(...)
[1] http://www.paulhammond.org/webkit2png/
[2] http://khtml2png.sourceforge.net/


Best regards,


--
 .---.  Eirik Schwenke <[email protected]>
( NSD ) Harald HÃ¥rfagresgate 29            Rom 150
 '---'  N-5007 Bergen            tlf: (555) 889 13

  GPG-key at pgp.mit.edu  Id 0x8AA3392C

--
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to