Hi,
I'm having a somewhat baffling problem. Some time ago, I added an iframe to a login page to put a Google Adsense ad into it. It turns out this is not OK with Google because the login page does not have content. So, now I'm trying to remove the iframe. Here's the problem:
1. There is no iframe in the code editor for the page, so I can't delete it (because it isn't there).
2. When I build my project, the iframe still appears in the output even though it does not exist in the actual code. It was originally in the footer but I reset the footer so nothing is there. Nevertheless, it still appears on my site after building and uploading.
I can't figure out why it is appearing when I build the page but is absent from the code in the editor. Here is the code in the editor by the way:
<!DOCTYPE html>
<HTML {$html_attrs}>
<HEAD>
<META http-equiv="X-UA-Compatible" content="IE=Edge">
<TITLE>
{$pagetitle}
</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK href="styles/default.css" rel="stylesheet" type="text/css">
{BEGIN rtlCSS}
<LINK href="styles/defaultRTL.css" rel="stylesheet" type="text/css">
{END rtlCSS}
{BEGIN styleCSSFiles}
<LINK href="{$stylepath}" rel="stylesheet" type="text/css">
{END styleCSSFiles}
{BEGIN pageCSSFiles}
<LINK href="{$pagestylepath}" rel="stylesheet" type="text/css">
{END pageCSSFiles}
<META name="GENERATOR" content="MSHTML 11.00.10570.1001">
</HEAD>
<BODY class="{$stylename} function-login" {$bodyattrs}>
{BEGIN body}
{$header}
<DIV class="rnr-page">
<DIV class="rnr-top {$blockclass_top}">
{BEGIN container_login}
<DIV class="rnr-c rnr-cv rnr-c-login" style="min-height: 0px; min-width: 598px;">
{BEGIN loginheader}
<DIV class="rnr-brickcontents style2 rnr-b-loginheader {$brickclass_loginheader}">
<SPAN>
<H1>
{$pagetitlelabel login}
</H1>
</SPAN>
</DIV>
{END loginheader}
{BEGIN message_block}
<DIV class="rnr-brickcontents style1 rnr-b-message {$brickclass_message}">
<DIV class="rnr-message">
{$message}
</DIV>
</DIV>
{END message_block}
<DIV class="rnr-brickcontents style1 rnr-b-wrapper {$wrapperclass_fields} rnr-wrapper rnr-cbw-fields">
{BEGIN container_fields}
<DIV class="rnr-c rnr-cv rnr-c-fields" style="min-height: 133px; min-width: 590px;">
<DIV class="rnr-brickcontents style1 rnr-b-loginfields {$brickclass_loginfields}">
<TABLE class="fieldGrid">
<TBODY>
<TR style="height: 38px;">
<TD>
{BEGIN username_label}
E-mail:
{END username_label}
</TD>
<TD class="rnr-control">
<INPUT name="username" style="width: 307px; height: 22px;" type="text" size="21" {$username_attrs}>
</TD>
</TR>
<TR>
<TD>
{BEGIN password_label}
Password:
{END password_label}
</TD>
<TD class="rnr-control">
<INPUT name="password" style="width: 306px; height: 22px;" type="password" size="1" {$password_attrs}>
</TD>
</TR>
<TR>
<TD>
{BEGIN remember_password_label}
Remember Password:
{END remember_password_label}
</TD>
<TD>
<INPUT type="checkbox" {$rememberbox_attrs}>
</TD>
</TR>
</TBODY>
</TABLE>
</DIV>
<STRONG></STRONG>
<DIV class="rnr-brickcontents style3 rnr-b-mesreg {$brickclass_mesreg}">
<A href="register.php" {$registerlink_attrs}>
<FONT size="4"><STRONG>Click Here to Register</STRONG></FONT>
</A>
<FONT size="4"><STRONG></STRONG></FONT>
</DIV>
<DIV class="rnr-brickcontents style3 rnr-b-mesforgot {$brickclass_mesforgot}">
<A href="remind.php" {$forgotpasswordlink_attrs}>
<FONT
size="3">Forgot password?</FONT>
</A>
</DIV>
{BEGIN loginbuttons}
<DIV class="rnr-brickcontents style2 rnr-b-loginbuttons {$brickclass_loginbuttons}">
<A class="rnr-button main" href="#" {$loginlink_attrs}>
Submit
</A>
{BEGIN continue_button}
<A class="rnr-button" href="#" {$continuebutton_attrs}>
Continue
</A>
{END continue_button}
</DIV>
{END loginbuttons}
</DIV>
{END container_fields}
</DIV>
</DIV>
{END container_login}
</DIV>
<DIV class="rnr-middle">
<DIV class="rnr-left {$blockclass_left}">
</DIV>
<DIV class="rnr-center {$blockclass_center}">
</DIV>
<DIV class="rnr-right {$blockclass_right}">
</DIV>
</DIV>
<DIV class="rnr-bottom {$blockclass_bottom}">
<!--%%bottom%%-->
</DIV>
</DIV>
{$footer}
{END body}
</BODY>
</HTML>
Even though there is no iframe with Google ads that I can find, the following still appears on my login page:
<iframe id="google_ads_frame1" name="google_ads_frame1" sandbox="allow-forms allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" width="728" height="90" frameborder="0" src="https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-1279252804139334&output=html&h=90&slotname=1873299786&adk=2842612394&adf=1047090749&w=728&lmt=1571837744&guci=2.2.0.0.2.2.0.0&format=728x90&url=https%3A%2F%2Fquizninja.net%2Fphprunnerquizninja%2Flogin.php&flash=0&wgl=1&dt=1571837744063&bpp=37&bdt=238&fdt=126&idt=127&shv=r20191015&cbv=r20190131&saldr=aa&correlator=7338802033997&frm=21&ife=1&pv=2&ga_vid=839125810.1571834861&ga_sid=1571837744&ga_hid=1559082029&ga_fc=0&iag=3&icsg=64507&nhd=1&dssz=12&mdo=0&mso=0&u_tz=-420&u_his=4&u_java=0&u_h=864&u_w=1536&u_ah=824&u_aw=1536&u_cd=24&u_nplug=3&u_nmime=4&adx=392&ady=366&biw=1518&bih=420&isw=1502&ish=382&ifk=4005778927&scr_x=0&scr_y=0&eid=20199337%2C21064785&oid=3&pvsid=2333022090457484&pem=128&ref=https%3A%2F%2Fquizninja.net%2Fteacherstart.html&top=https%3A%2F%2Fquizninja.net%2Fteacherpage.html&rx=0&eae=0&fc=640&brdim=0%2C0%2C0%2C0%2C1536%2C0%2C1532%2C824%2C1518%2C382&vis=1&rsz=%7C%7CeE%7C&abl=CS&pfx=0&fu=1044&bc=31&ifi=1&uci=1.g16fketix9k2&fsb=1&xpc=P6TGnkQ5ss&p=https%3A//quizninja.net&dtd=183" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no" allowfullscreen="true" data-google-container-id="1.g16fketix9k2" data-google-query-id="CMLDv_i_suUCFYwYrQYd2U4JOw" data-load-complete="true"></iframe>
I can't figure out how to get rid of it. Any ideas? By the way here's the URL for the page where this occurs:
https://quizninja.net/teacherpage.html Thanks,
Brett