how to add an iframe to ANY site and display your url in this iframe?

opsfafsme

Well-Known Member
Rule The Galaxy
VIP
Joined
Jul 2, 2018
Messages
180
Reaction score
70
Website
OnlinePiercingShop.com
Achievement
little trick
how to add an iframe to any site and display your url in this iframe?

JavaScript:
await Delay(3000);
await WaitForLoading();
var myUrl = "https://onlinepiercingshop.com/solid-gold-c185";
await EvaluateScript("var myAdv = document.createElement('div'); myAdv.id = 'myAdv';\
    myAdv.innerHTML = '<iframe src=\"" + myUrl + "\" width=\"640\" height=\"250\" frameBorder=\"0\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></iframe>';\
    document.body.appendChild(myAdv);");
await Delay(5000);
await WaitForLoading();
how to use it, think for yourself ;)
 
Last edited:

addodda

New Member
VIP
Joined
Sep 16, 2020
Messages
1
Reaction score
0
Achievement
Hello. a good macro, but you can run it in a loop and load several sites in turn?
 

opsfafsme

Well-Known Member
Rule The Galaxy
VIP
Joined
Jul 2, 2018
Messages
180
Reaction score
70
Website
OnlinePiercingShop.com
Achievement
@addodda for example like this

JavaScript:
await Delay(Random(2500,3000));
await WaitForLoading();

var urls = [
    "https://onlinepiercingshop.com/solid-gold-c185",
    "https://onlinepiercingshop.com/silver-jewelry-c165",
    "https://onlinepiercingshop.com/nipple-piercing-c166",
    "https://onlinepiercingshop.com/navel-piercing-c167"
    ];
for (i=0; i<urls.length; i++) {
    var myUrl = urls[i];
    await EvaluateScript("var myAdv = document.createElement('div'); myAdv.id = 'myAdv';\
        myAdv.innerHTML = '<iframe src=\"" + myUrl + "\" width=\"1024\" height=\"640\" frameBorder=\"0\" scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\"></iframe>';\
        document.body.appendChild(myAdv);");
    await Delay(5000);
    await WaitForLoading();
    await Delay(Random(5000,7000));
    await EvaluateScript("var element = document.getElementById('myAdv'); element.parentNode.removeChild(element);");
}
 
Last edited:
  • Like
Reactions: serjojazz

serjojazz

New Member
VIP
Joined
Sep 9, 2020
Messages
6
Reaction score
1
Achievement
@opsfafsme , Optimus Prime hello! Great iframe code. I was thinking about how to replace the referrer in the iframe when you insert this code into the macro. Is there a better solution? In terms of an iframe, when the site "A" was opened, was the referrer on it displayed from site "B"?

My bearded solution for now is:

First, open site "C" in the iframe, in which the referrer to site "B" will be replaced, as well as a redirect to the desired site "A".

And for the "god version" of this script, maybe there is a solution for randomly replacing the :D:D referrer

==============================================
ДЛЯ ТЕХ КТО КАК И Я УЧИЛ НЕМЕЦКИЙ В ШКОЛЕ:
==============================================

@opsfafsme, Оптимус Прайм привет! Отличный код iframe. Я думал над тем как подменить реферер в iframe, когда вставляешь этот код в макрос. Если ли лучше решение? В плане в iframe, когда открывался сайт "А", реферер на нём отображался от сайта "Б"?

Моё пока бородатое решение это:
Сначала в iframe открывать сайт "С", в котором будет подменён реферер на сайт "Б", а также редирект на нужный сайт "А".


И для бог версии этого скрипта, может быть есть решение для рандомной замены реферера ЖВЖВ
 
Last edited:

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu