vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - BT - Hide internet explorer errors (https://vborg.vbsupport.ru/showthread.php?t=240100)

BlackThorn 04-08-2010 10:00 PM

BT - Hide internet explorer errors
 
May be, yall know, Internet explorers the bottom of the page say: "finished but page get errors." And then you've very angry!

Well, you can close it!

But How?

Well, [B]Open your headinclude template and add the BOTTOM of codes this code;

PHP Code:

<script LANGUAGE="JavaScript">function CC_noErrors() {return true;}window.onerror CC_noErrors;</script

If you use that, then please mark as installed :)

bing11 04-09-2010 12:18 PM

nice thank you

avsunforum 04-12-2010 01:43 PM

thanks men

asd_ra7la 04-30-2010 06:39 AM

nice thank you install in نتائج الامتحانات

RTMdotORG 06-19-2010 08:12 PM

Yeah, but wouldn't you like to fix the error instead of mask it?

Xtrigit 06-25-2010 02:36 PM

Why would you want to mask an error? why not just fix it?

Sajeth 06-25-2010 11:13 PM

Because it wasnt a "real" error but more likely another Internet Explorer malfunction...

BlackThorn 06-25-2010 11:17 PM

Quote:

Originally Posted by Sajeth (Post 2059621)
Because it wasnt a "real" error but more likely another Internet Explorer malfunction...

Thank you :rolleyes:

RTMdotORG 06-27-2010 03:02 AM

Not a "REAL" error?
That doesn't make sense, I'm not downing the developer because I encourage everyone who post mods:up:, but something like this could be bad. What if you use this, then you get a "REAL" error? You wouldn't even know it was occurring because you have the error unable to be showed.

Not everyone on vb.org is an experienced user and if some were to see an error at the bottom left of their browser, and then saw this, that user would think it is valid to use this code. All I'm saying is I would add to your description that this might not be the right path to take. After reading this thread I see that some users are ignorant and think there are "FAKE" errors , so I guess this mod is good for them. :down:

Just my opinion I guess :confused:

Sajeth 06-27-2010 10:34 AM

Your long story short: you have very little experience in optimizing code for all browsers and web development in general.
First, YES, Internet Explorer does a lot of strange things, one of those strange things is giving useless error messages when the code in fact is valid.
Second, NO, there is not the slightest need for such messages in a live environment.
Third, if you get a "real error", propably the last thing you need to notice it is getting another MIE error message. And in debug mode, those errors are shown anyways.


All times are GMT. The time now is 02:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01516 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete