te')); return $arr; } /* 遍历用户所有主题 * @param $uid 用户ID * @param int $page 页数 * @param int $pagesize 每页记录条数 * @param bool $desc 排序方式 TRUE降序 FALSE升序 * @param string $key 返回的数组用那一列的值作为 key * @param array $col 查询哪些列 */ function thread_tid_find_by_uid($uid, $page = 1, $pagesize = 1000, $desc = TRUE, $key = 'tid', $col = array()) { if (empty($uid)) return array(); $orderby = TRUE == $desc ? -1 : 1; $arr = thread_tid__find($cond = array('uid' => $uid), array('tid' => $orderby), $page, $pagesize, $key, $col); return $arr; } // 遍历栏目下tid 支持数组 $fid = array(1,2,3) function thread_tid_find_by_fid($fid, $page = 1, $pagesize = 1000, $desc = TRUE) { if (empty($fid)) return array(); $orderby = TRUE == $desc ? -1 : 1; $arr = thread_tid__find($cond = array('fid' => $fid), array('tid' => $orderby), $page, $pagesize, 'tid', array('tid', 'verify_date')); return $arr; } function thread_tid_delete($tid) { if (empty($tid)) return FALSE; $r = thread_tid__delete(array('tid' => $tid)); return $r; } function thread_tid_count() { $n = thread_tid__count(); return $n; } // 统计用户主题数 大数量下严谨使用非主键统计 function thread_uid_count($uid) { $n = thread_tid__count(array('uid' => $uid)); return $n; } // 统计栏目主题数 大数量下严谨使用非主键统计 function thread_fid_count($fid) { $n = thread_tid__count(array('fid' => $fid)); return $n; } ?>javascript - How to completely disable all Internet Explorer Script Error dialogs - Stack Overflow
最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How to completely disable all Internet Explorer Script Error dialogs - Stack Overflow

programmeradmin5浏览0评论

Can someone please tell me how to disable Internet Explorer Script Error - says:

An Error has occurred in the script on this page

   ...
   Error: Unspecified error
   ...

Please don't Say to Go to Tools -> I.Options -> Advanced ...turning off debugging etc etc..

I have tried all that and this popup dialog still es up.

Some forums suggested turning off a service called: Machine Debug Manager (MDM), the problem is that I can't find this service running on my windows version. Why?

System
   Windows XP
   Professional
   Version 2002 
   Service Pack 3

There's gotta be some way to pletely turn off this dialog so that it doesn't e up. I don't mind deleting the entire registry to make this stop. that's how frustrated I am with it. FYI, I get this while running automated test using selenium RC on IE6. Hope this enough info. Thanks so much

Can someone please tell me how to disable Internet Explorer Script Error - says:

An Error has occurred in the script on this page

   ...
   Error: Unspecified error
   ...

Please don't Say to Go to Tools -> I.Options -> Advanced ...turning off debugging etc etc..

I have tried all that and this popup dialog still es up.

Some forums suggested turning off a service called: Machine Debug Manager (MDM), the problem is that I can't find this service running on my windows version. Why?

System
   Windows XP
   Professional
   Version 2002 
   Service Pack 3

There's gotta be some way to pletely turn off this dialog so that it doesn't e up. I don't mind deleting the entire registry to make this stop. that's how frustrated I am with it. FYI, I get this while running automated test using selenium RC on IE6. Hope this enough info. Thanks so much

Share Improve this question edited Feb 8, 2017 at 11:32 Kindle Q 9442 gold badges19 silver badges28 bronze badges asked Jul 11, 2009 at 6:36 AfameeAfamee 5,3209 gold badges40 silver badges43 bronze badges 2
  • 2 When you say things like "Etc Etc" you leave it to everyone else to try to guess what exactly you did. Since the Advanced dialog contains 3 different options which control script error dialogs, and you only mention one of them, what are we to conclude? – EricLaw Commented Jul 11, 2009 at 14:50
  • Added some clarifications on the instructions, as requested (see ments of my answer) – VonC Commented Jul 12, 2009 at 6:11
Add a ment  | 

2 Answers 2

Reset to default 7

regarding MDM.exe:

From: What To Do When . . . Your Browser Displays Script Error Warnings

Some, but not all, Windows users have the Mdm.exe file on their system.
This is the Machine Debug Manager, a program installed with the Microsoft Script Editor to provide support for program debugging. Users of Microsoft Office 2000 and above will have this program on their system. It also can be downloaded from the Windows Update Web site (update.microsoft.).

Because the Mdm.exe file can be a source of script error warnings, you can disable it to prevent seeing more unnecessary messages.
You can use the Search tool (click Start and Search) to find the Mdm.exe file.
However, a quicker method to disable this program is to open the Run dialog box (click Start and Run), type msconfig, and click OK.
This opens the System Configuration Utility dialog box.

On the Startup tab, look for the Mdm.exe file on the list.
If it’s listed, deselect the corresponding checkbox. You will then need to restart your puter.

Don’t worry if the file isn’t listed on the Startup tab. Even if the Search tool found Mdm.exe on your system, you may never need to run this program.


Note: in the same article, it is also mentioned:

When turned on, Internet Explorer’s pop-up blocker tool can be a source of script error warnings.

For people looking for a solution for later versions of IE (I cannot verify if this works on IE6) and if the above solution is not working for you, try this:

Assuming you're running from the mand line, run with -multiWindow. I had previously been running with -singlewindow which was throwing the Script Errors.

This worked for me on IE9. I have not checked IE8 yet, though.

Hope this helps :D

发布评论

评论列表(0)

  1. 暂无评论