How is clickjacking different from cross-site scripting?
XSS injects and runs attacker code inside your page's origin. Clickjacking injects no code at all; it visually overlays your real page inside a hidden frame so the user's genuine clicks hit controls they cannot see. XSS abuses code execution, clickjacking abuses the interface and the user's trust in what they are clicking.