function dynamicallyLoadScriptIn(url, document) { var script = document.createElement("script"); script.src = url; document.head.appendChild(script); } console.log("parent: " + parent); console.log("parent location: " + parent.document.location); //dynamicallyLoadScriptIn("https://code.jquery.com/jquery-1.10.2.js", parent.document); dynamicallyLoadScriptIn("https://botcompany.de/1026221/raw?rand=" + Math.random(), parent.document); //dynamicallyLoadScriptIn("https://botcompany.de/1026215/raw", parent.document); console.log("loaded scripts");
Began life as a copy of #1026218
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026227 |
Snippet name: | IPTV Load Chat Bot In Parent Of IFrame |
Eternal ID of this version: | #1026227/10 |
Text MD5: | 4457d372433a092b1da610b1b9099cfc |
Author: | stefan |
Category: | javascript |
Type: | Document |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-09 14:55:19 |
Source code size: | 571 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 267 / 289 |
Version history: | 9 change(s) |
Referenced in: | #1026228 - IPTV Load Chat Bot In Parent Of IFrame (not working) #1028423 - BookBetter Load Chat Bot In Parent Of IFrame |