Adding selection support

The multiple commits are caused by me uploading code via Github. I will rebase it all before I merge. 
@Liongold Still not happy with that selector. What about using `input[name='pdfexport-content']`?