473,325 Members | 2,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

iframe problem: email client reappears on pressing back button

Hi, I am Jieun
I am working on e-mail redirecting for preventing email harvesting using iframe.

When clicking on email and then click on another link on the page. Then press back button, the email client reppears with the email address that was clicked in the previous page. How can I avoid this behavior?

Here's the code.

Expand|Select|Wrap|Line Numbers
  1.  HTML 
  2. <body>
  3. <a href="http://www.qwe.com/admin/mailto.asp?u=zieni&d=qwe.com" target="email">zieni</a>
  4. <iframe style="visibility:hidden" name="email" height="0" width="0"></iframe>
  5. </body>
  6.  
  7. * the domain name is pseudonym. 
  8.  
  9. ASP
  10. <%
  11. Response.Redirect("mailto:"+Request.QueryString("u")+"@"+Request.QueryString("d"))
  12. %>
  13.  
Nov 25 '05 #1
2 3211
Niheel
2,460 Expert Mod 2GB
Why not outbut a "Click here to go back!" link on mailto.asp before you run the redirect to the mail client? Let me know if that works.

Here is the code for going back one page:
Expand|Select|Wrap|Line Numbers
  1. Click <a href="javascript:history.back(1)">here</a> to go back!
  2.  
I don't know if that will solve your problem, hopefully someone else has a better solution.
Nov 29 '05 #2
acoder
16,027 Expert Mod 8TB
This is caused by the iframe. The back button will act on the iframe.

For this particular problem, an ASP mailer script would make most sense. This would keep the email hidden with no mailtos.
Jun 22 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Javier | last post by:
Hello, I'm very new in this forum and as I have the following problem, the website is in http://new.vanara.com ----------------------------------------------------------------------------...
3
by: inonzuk | last post by:
Hello dear javascripts wizards, I hope I will make myself clear enough.... I have an "index.html" file which have an IFRAME and a button (outside the IFRAME). pressing the button loads a...
3
by: Peter | last post by:
I have a webform on this form is a User Control and another webform in IFRAME On the User Control there is a save button. I want to click this button and somehow tell the webpage in IFRAME that...
7
by: nicknack | last post by:
Hi. I have a strange problem wuth IFRAME. I have page aaa.aspx with an IFRAME that contain page bbb.aspx. page bbb.aspx sometimes redirect him self to page ccc.aspx. The problem is that...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.