0

I have added the following java script:

window.location = "http://www.yoururl.com";

Now I cannot edit the same page, since it keeps redirecting.

Is there away of removing it or stopping it for me to be able to edit the page?

1 Answer 1

1

Add "?Contents=1" to your site URL to open the Maintenance page

  • Select your script / content editor
  • click close or delete.

Now you can edit your page.

enter image description here

3
  • hahh yess :) it works! shame there is no open to edit the current webpart. Thanks for your quick reply. Commented Nov 24, 2016 at 15:04
  • 1
    you can edit your current web part by clicking close rather than delete. then click add a web part / below category select closed web part , you can find your web part add it , and edit it :) tell me result :) Commented Nov 24, 2016 at 15:06
  • 1
    I will click Answered once the seconds have elapsed :) and that "close" and read the app > does not do the trick cos as soon as I add the closed app, it refreshes the site and the redirect kicks back in. ah well Commented Nov 24, 2016 at 15:11

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.