1

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")?

lance
  • 487
  • 6
  • 15

1 Answers1

2

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

Ashish Patel
  • 11,385
  • 3
  • 22
  • 29