Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Floyds

9 posts

Wannabe Geek


#201588 25-Aug-2016 17:14
Send private message

Got a problem with my safari browser, javascript just stops running and have to close safari down to get it to work again. Runs fine again the stops working

 

ive manage to bring up the error console and it has the following.

 

Blocked script execution in 'http://www.metservice.com/_/files/social/content-stream.html' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

 

I'm completely lost when it comes to this kind of stuff and google hasn't really been of help


Create new topic
geocom
597 posts

Ultimate Geek
+1 received by user: 143

Subscriber

  #1617518 25-Aug-2016 18:48
Send private message

Does javascript stop working on every site your visit or is it just metservice? Does it happen if you open a new tab and bring up metservice again?

 

The error your seeing is used to stop cross site scripting. So this error is nothing to worry about.





Geoff E




Floyds

9 posts

Wannabe Geek


  #1617525 25-Aug-2016 18:55
Send private message

it happens on a few other sites as well. haven't tried opening a new tab and trying but usually have 2 windows open with a few tabs on each, javascript won't run on any of them when it stops

 

 

 

hope that makes sense


geocom
597 posts

Ultimate Geek
+1 received by user: 143

Subscriber

  #1617561 25-Aug-2016 20:11
Send private message

Sounds like an odd issue. Maybe something is crashing the javascript runtime engine. Next time it happens in the URL bar type in javascript:alert("hello"); if a pop up appears saying hello then javascript is at least still working in some form.





Geoff E




Behodar
11096 posts

Uber Geek
+1 received by user: 6075

Trusted
Lifetime subscriber

  #1617564 25-Aug-2016 20:17
Send private message

Note that you'll need to enable JavaScript from the "Smart Search Field" (via the Develop menu) before that'll work.


gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7820

Lifetime subscriber

  #1617574 25-Aug-2016 20:40
Send private message

Do you have any extensions operating?

gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7820

Lifetime subscriber

  #1617577 25-Aug-2016 20:45
Send private message

Maybe try:

menu > preferences > extensions > off.

Then exit safari and try the same sites again.

 
 
 

Shop now at Mighty Ape (affiliate link).
Floyds

9 posts

Wannabe Geek


  #1617863 26-Aug-2016 13:37
Send private message

Hi Guys

 

 

 

Thanks for everyones replies, turned of my extensions which was adblock and it still happened but not as quickly as previously. Also tried opening the same site in a new tab which did work, any idea whats causing my problem

 

 

 

Cheers


gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7820

Lifetime subscriber

  #1617925 26-Aug-2016 15:11
Send private message

Does it happen in Chrome?

Floyds

9 posts

Wannabe Geek


  #1617931 26-Aug-2016 15:29
Send private message

Havent used Chrome


gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7820

Lifetime subscriber

  #1617944 26-Aug-2016 15:38
Send private message

Back when I was on osx I found it faster and more frequently updated than Safari.

By the way what version of Safari do you have?

Floyds

9 posts

Wannabe Geek


  #1617948 26-Aug-2016 15:45
Send private message

Its the latest 9.1.2, Ive played with Chrome a little but preferred Safari probably because I was more familiar and like the setup


HP

 
 
 
 

Shop now for HP laptops and other devices (affiliate link).
geocom
597 posts

Ultimate Geek
+1 received by user: 143

Subscriber

  #1617958 26-Aug-2016 16:01
Send private message

Its unlikely to do the same thing as they use different javascript engines. It sounds like something is crashing the javascript master VM's as it works when you open a new Tab it creates a new VM.

 

Worth a try next time it happens on a page that has stopped working type

 

javascript:alert("hello");

 

if that works then I just don't know but if not type

 

javascript:setTimeout(alert("hello"), 1);

 

as said before you will need to enable allow javascript from smart search field. Which will require enabling the develop menu which is found in preferences under advanced.

 

The reason for this is that the first command will run within the main DOM which should not run as it has crashed where as the second one will create a new thread in theory creating a new VM within the same tab so should work.

 

There should also be some crash logs. You should be able to find these under console which is in utilities in the application folder. May take a bit to find but they will likely have safari or webkit or event the name of the site that caused the crash.

 

 





Geoff E


gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7820

Lifetime subscriber

  #1617989 26-Aug-2016 17:33
Send private message

Safari made some security related changes recently.

Maybe someone here can report if they get the same result for 9.1.2 with the metservice site. Could be metservice and a few others need to consider changes if Safari has changed.

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.