httpswitchboard
httpswitchboard copied to clipboard
User Agent Spoofing and XML files causes script text to appear on page
Using version 0.9.4.1, when viewing an XML file (e.g. http://www.w3schools.com/xml/note.xml ), the contents of the httpsb-ua-spoofer script element appears as text at the bottom of the page.
i tried document.head.appendChild(script);
and it keeps the script from showing in the body of the of the page when its a file.
If I remember correctly, when I used document.head.appendChild(script);
(or body
) originally, the spoofing from client scripts point of view wasn't working.