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
apex_keenapex_keen 

js code giving issue

I've a requirement to redirect to visual force page when home page loads.

For this, I've made a new home page component of HTML area type and put my one line of Javascript code in it .( window.location.replace(link of redirection).......)

Although redirection is working fine but all pages of salesforce stop loading properly. Issue in all is-page is not showing scroll bar at right due to which you links & text written at bottom part of page are not visible. If I drag mouse at bottom, those comes up.

Wondering, if any body else has faced this issue. Guessing it is something related to ruining of HTML structure of page but not sure of