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
Dominic SebastianDominic Sebastian 

Overriding the approval/reject process.

I have created the VF and the apex page. However, based on thr link https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AbeXIAS
I cannot give a homepage component because, It won't allow me to write a javascript on the HTML area at the home page component. I created a VF page with the javescript added to it. I would like to know if there is a way to override the accept/reject layout. 
AshwaniAshwani
You can write javascript on html area, just use <script> tag. Do not reference to javascript file. However I am in doubt that homepage component may not be available everywhere on standard salesforce ui views. In javsscript you have to reference parent frame by using window.parent