Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Nov 2017, 01:02
spillage spillage is offline
 
Join Date: Mar 2009
Real name: Bryan
Browser warnings?

I have a member raising concern about his browser (Chrome) giving him these two warnings.

private.php:41
A Parser-blocking, cross-origin script, http://ajax.googleapis.com/ajax/libs...n-min.js?v=425, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity. See https://www.chromestatus.com/feature/5718547946799104 for more details.

ckeditor.js?v=425:138
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
I'm up to date with vB4.2.5
Any thoughts on this?
__________________
Bryan
vB 4.2.4
Reply With Quote
  #2  
Old 17 Nov 2017, 01:39
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Nothing critical, it just happens because of certain outdated libraries that vBulletin 4 uses which modern browsers don't really like to be used anymore.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 09 Jan 2018, 16:04
Bestrafung Bestrafung is offline
 
Join Date: Aug 2009
Performance Issues?

I've also seen several website performance tools and articles claim the document.write is slowing the site drastically. I'm not sure how true this is but if so, is there an easy way to replace all of the instances of document.write to not only speed up the site but to also make the browser happy? It seems like the majority of the scripts used by vbulletin could probably just be deferred in the footer, with the exception of the jquery ordering. Please correct me if I'm wrong.
Reply With Quote
  #4  
Old 09 Jan 2018, 16:06
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
It doesn't drastically slow the site in vBulletin's case, it only makes a few calls to it as far as I know which is fine.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #5  
Old 09 Jan 2018, 16:25
Bestrafung Bestrafung is offline
 
Join Date: Aug 2009
Originally Posted by Dave View Post
It doesn't drastically slow the site in vBulletin's case, it only makes a few calls to it as far as I know which is fine.
Ok, thanks for the info. I'm going to be optimizing the site and I was concerned about it affecting load times. The tools must be wrong. I looked at the source and there are only 4 document.writes on CMS and 5 on forums.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Warnings System Hack v2.1 g-force2k2 vBulletin 2.x Full Releases 635 07 Dec 2007 16:58
Warnings System Hack v1.0 g-force2k2 vBulletin 2.x Full Releases 158 07 Dec 2003 19:38



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:30.

Layout Options | Width: Wide Color: