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?
Cancel navigation on a frame?
799 Views Asked by Juan At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in IFRAME
- Why a component? Drawer of mui Does not work inside Iframe
- How can I catch all DOMExceptions thrown in Firefox?
- Embeded Google slides opens new tab on screen touch (mobile mode)
- Jira helpdesk widget doesn't create an iframe when script is loaded dynamically
- HTTP Client Hint headers are not sent from an iframe
- Excel embedding through OneDrive: preview is correct, while the end result is not
- SameSite None Cookie on Authentication Cookie On WordPress Website
- Is it possible to interact with SSO between Website A and Website B?
- SSO to Grafana embeded in iframe
- AudioContext not heard although it is running
- How to disable page-break before a long iframe while printing?
- How to get a postMessage message from Duda into the embedded iframe?
- auto login with Grafana
- PagerDuty Integration
- iframe hosted on CloudRun not firing onLoad event in React JS
Related Questions in HYPERLINK
- Non-Expiring Direct Link Like When Clicked It Will Download Without Landing Any Page
- Hyperlink doesn't redirect while others do
- I want to embed YouTube videos in my web app while safeguarding the direct video links. How can I do this?
- How to make common post or page for external links in wordpress website using php or any language
- I want to avoid this warning: "Microsoft Office has identified a potential security concern"
- LinkedIn Thumbnail problems
- Replace a Link to a file per GScript in GMail
- link analysis with visjs on the basis of timestamp
- No route found in Shopware6/symfony
- How to make a div button to link to another web page
- I need URLs typed into Google Sheet cells to open automatically when they are finished being typed
- Approach to display links by role
- Link target _system is not working on IOS inAppBrowser
- a href not taking me to a page that is specified
- My links are visually breaking as soon as screen is resized
Related Questions in FRAMESET
- (HTML frame tag) target frame won't work again after clicked
- How can I make both Img and Frameset work?
- Problem is displaying frameset when connecting to django
- HTML frame tag not supporting style="overflow: xyz"?
- Can rows exist after columns in html?
- How to click a link in a frame with Puppeteer?
- How to reflow page when changing Frame border attribute with JavaScript
- How to I calculate absolute position of individual frames inside a frameset (Javascript)
- How to display a webpage inside <td> in a table in HTML?
- Replicating nested and togglable <frameset> in HTML5
- Puppeteer - invoke external JS function from a 5th level deep child page in frameset
- Expand a menu inside frame with selenium java
- How can I submit a form from frame 1 to frame 2 using PHP
- How do I switch to a frame and select an element in the frame?
- How to switch to nested framesets using Python Selenium?
Related Questions in FRAMESET-IFRAME
- Prevent scrolling all the way up & down in iframe website
- Robot Framework: How to select an HTML element located inside multiple iframes using Browser lib?
- Iframe in Azure Webb
- Frameset: Deprecated Frameset is not working
- How can I use iframe tag to create a full-height, "sticky" side navigation instead of using deprecated frameset tag?
- ASP.net MVC FrameSet x 2
- Html page with frames with links from one frame to another (with interactive map)
- How to check current domain and redirect other domains to avoid frameset?
- Put an HTML <iframe> into Ext.panel.Panel
- fix Iframe height in Percentage to aquire contents full height
- Iframe anchor doesnt work
- Show two frames where one of them is in the corner of a webpage
- blocking frames and iframes with javascript
- about frame type (I,P,B) in mpeg-4
- html5 iframe for nearly full screen?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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:
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.