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
SFGSFG 

Did Salesforce put new cross-site restrictions in place with Spring 12'?

I've had a piece of custom code on the Contacts screen for two years. Basically I have a trigger that performs some actions and based on those actions I spit out a snippet of javascript in the standard error message portion of the contact screen. I use that to redirect to another page with a set of params in the URL. This is part of a managed package.

 

Just recently I'm getting a cross-site scripting error message. It has worked for two years though and is unchanged on my end. 

 

I've read everything there is to read in the forums, developer docs and I'm getting nowhere. Does anybody know if this has changed or is there another way that I can do this?