Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1045015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:55:14+00:00 2026-05-16T15:55:14+00:00

Say I have a frameset with a frame where Google is loaded. I want

  • 0

Say I have a frameset with a frame where Google is loaded. I want to prevent Google from navigating anywhere when the user click on a link or a button. Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:55:15+00:00Added an answer on May 16, 2026 at 3:55 pm

    I don’t think it’s possible.
    The only way that comes into my mind is to use a simple Javascript code in the parent frameset to detect when the child frame containing Google Home Page has been reloaded because user pressed a link in it, and then force the child frame to reload again the Google Home Page. Something like:

    <script type="text/javascript">
       var flag_1st_time_call = true;
       function ReloadGoogleHome()
       {
          if(!flag_1st_time_call)
          {
             document.getElementById('myframe').src = "http://www.google.com";
          /* I'm not sure you can get frame with document.getElementById (I'm 
             more confortbale with IFRAMEs) anyway I think you understood the example */
          }
          flag_1st_time_call = false;
       }
    </script>
    
    <frame src="http://www.google.com" id="myframe" onload="ReloadGoogleHome();"></frame>
    

    This does not prevent user to click on links and display for a while the page where they navigated too, but suddenly they will be brought back to Google HOME PAGE.

    Another possible solution (if you were using IFRAME in a page to show Google instead of a frameset) is to create a position aboslute div element in the parent page (the one that contains the IFRAME) with opacity and make it cover the IFRAME, in this way user won’t be able to interact at all with the Google page displaied in the IFRAME.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have 3 frames in a frameset arranged in 3 rows. Frames 1
Let's say have something like: SELECT energy_produced, energy_consumed, timestamp1 AS timestamp FROM ( SELECT
Say I have three files (template_*.txt): template_x.txt template_y.txt template_z.txt I want to copy them
Say I have a SqlAlchemy model something like this: from sqlalchemy.ext.declarative import declarative_base from
Say I have two types of objects, Apples and Chainsaws . A user is
Say I have a byte array with 100,000 bytes in it. I want to
Let's say have a string... String myString = my*big*string*needs*parsing; All I want is to
Say have a linear model LM that I want a qq plot of the
Say I have an HTML form like this to collect an email from a
If I have a frameset with 2 frame s does each frame have its

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.