Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

im trying to acomplish what is said in this question: How can I execute JavaScript on a SFDC Standard Detail Page?.

but i salesforce is blocking me from doing it, when i try to save my script on the narrow component, it just delete my <script> tag

can anyone confirm if they are blocking this technique?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Confirmed, JavaScript is no longer allowed in sidebar components as of the Summer '14 release. You must embed your JS in a Visualforce page or onclick button.

This is discussed in detail on this other Stack Exchange thread:

End of javascript sidebar hacks?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.