I have a page with 2 iframes and i was wondering if it was possible to have a link in the parent window that affects the iframe.
I know how to make a normal link that changes the page in the iframe but I need to make I, that it activates JavaScript into the iframe.
// The JS | normally in one line
javascript:var%20KICKASSVERSION='2.0';
var%20s%20=%20document.createElement('script');
s.type='text/javascript';document.body.appendChild(s);
s.src='//hi.kickassapp.com/kickass.js';
void(0);
If you put that into an address bar it works without changing the page but I was wondering if this is possible in an iframe. Thanks!