How do I know if the page is in Edit Mode from JavaScript? tells me how to know if a page is in Design mode. I need to distinguish between the two design modes: customizing vs personalizing.

How can I detect, using Javascript, when a page is being customized ("Site Actions" > "Edit Page") without getting false positives when it is being personalized ("Welcome Menu" > "Personalize this Page")?

1 Answer 1


In design and view modes, when a user is looking at personalized page, look for PageView=Personal in query string (window.location).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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