2

Well, this problem is resulting from a kinda funny fact: I've inserted with JavaScript an automatical "Tab-Close"-Script to close a SharePoint Site automatically. Now, after a while, I would like to change sth. on this page which closes directly. That's why I would like to know if there is any way to load a SharePoint Page without running scripts / without letting the scripts run.

3
  • 3
    Where have you inserted the script? In a webpart? If so, add ?contents=1 to the URL and close the webpart from there – Robert Lindgren Jul 12 '16 at 7:03
  • You can post this actually as answer, cause it solved my problem. Thank you very much. – SteffPoint Jul 12 '16 at 7:20
  • 1
    I have added it as an answer – Robert Lindgren Jul 12 '16 at 7:46
6

Where have you inserted the script? In a webpart? If so, add ?contents=1 to the URL and close the webpart from there

1
1

Open the page in SharePoint Designer 2013 and comment out the script where you close the tab.

If SharePoint Designer isn't allowed in your organisation, download the page from the pages library and edit in Notepad or any other text editor. When your done, upload the page to the pages library again.

And for usability, closing a tab when browsing to it is really bad. It does not only confuse your users; they may think SharePoint is down or their computer malfunctioning. So please, don't implement such a solution.

2
  • 1
    Thanks for your answer Benny. Is there also any solution without SharePoint Designer 2013? (Unfortunately in my company SharePoint Designer isnt allowed). Well, this site is just automatically opened after a Workflow :) – SteffPoint Jul 12 '16 at 7:16
  • 2
    @SteffPoint Sure! Download the page from the pages library and edit in Notepad or any other text editor. When your done, upload the page to the pages library again. It works the same way :) – Benny Skogberg Jul 12 '16 at 7:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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