We give out a piece of javascript tags such as which site owners put on their site like http://exa
You can support script injection the correct way by intercepting calls to document.write in this way:
document.writeText = document.write;
document.write = function(parameter) {
if (!parameter) return;
var scriptPattern = /
Obviously this can be condensed down a bit further, but the variable names are included for clarity.
Source