calling visualforce page from weblink
if("{!myobject__c.OwnerId}" == "{!$User.Id}"){ window.parent.location.href='/apex/mypage?id={!myobject__c.Id}'; }else{ alert("{!$Label.labelalertmessage}"); }
overriding standard page Invoking HTTP Callouts – GET