function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
perumalvpsperumalvps 

How to block URL while page load

Hi

 

 I need favour of "How to block URL i.e.address bar" while page loading. This has to be done in Visualforce page while the page getting loaded.

 

Warm Regards

Perumalsamy

sfdcfoxsfdcfox

Assuming I understand you correctly, I would say that your request is impossible. No Visualforce page (or any HTML page) should be able to disable the user's chrome (not specifically Google Chrome, just any browser's UI); this is a breach of security that could cause denial of service (DOS attack). There's not even any real legitimate reason why you would want to disable the address bar at any time. However, perhaps you mean something different, and maybe what you're looking for is possible. Could you please provide an example of what you are specifically trying to do?