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
Apoorva SharmaApoorva Sharma 

Using static javascript in custom links

Hey all
I am using javascript to hide certain things from standard pages and home page. i am able to hide all those things but loosing my global search functinality. When i click on search icon of global search nothing happens.
ShashankShashank (Salesforce Developers) 
Using javascript to hide things is more of a workaround which is not exactly supported or recommended by salesforce, as it may cause unexpected behavior like what you are seeing.