Skip to content

Instantly share code, notes, and snippets.

@cocuh
Created December 22, 2013 16:40
Show Gist options
  • Select an option

  • Save cocuh/8085158 to your computer and use it in GitHub Desktop.

Select an option

Save cocuh/8085158 to your computer and use it in GitHub Desktop.
window.onload = function(){
console.log('external javascript:'+document.domain);
document.getElementById("elem_ex").onclick=function(){
console.log('external javascript onclick:'+document.domain)
};
};
.xss{
fill:blue;
stroke:red;
stroke-width:expression(console.log("css expression:"+document.domain));
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment