#580 ✓invalid


Reported by Maija | January 10th, 2012 @ 10:38 PM | in v0.3

Recently I needed something like GM_safeHTMLParser but to leave the page in tact because I wanted access to some of the code in the script that was embedded on the page. I did a bit of searching around and this is what I put together.

  method: "GET",
  url: "http://erikvold.com/",
  onload: function(res) {
    var dt = document.implementation.createDocumentType('html',
                        '-//W3C//DTD HTML 4.01 Transitional//EN',
        doc = document.implementation.createDocument('', '', dt),
        html = doc.createElement('html');

    html.innerHTML = res.responseText;


I wonder if there is the possibility for a GM_unsafeHTMLParser in the API?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket


Referenced by