切换检查超时时间_全部检查/切换

news/2024/7/10 2:12:51 标签: java, javascript, php, linux, vue
切换检查超时时间

切换检查超时时间

Recently I decided to clean up all the spam from an abandoned phpBB forum of mine, there was a lot to delete. In the phpBB version that I use there is no option to "check all" topics you want to moderate. So I came up with a little bookmarklet to do this for me. Here it is, only improved to work within frames and toggle (check if not checked, uncheck otherwise) all checkboxes in sight. Tested in FF and IE6/7.

最近,我决定从一个废弃的phpBB论坛中清理所有垃圾邮件,有很多地方要删除。 在我使用的phpBB版本中,没有选项可以“检查所有”要审核的主题。 所以我想出了一个小书签来为我做这件事。 此处仅改进了在框架内工作并切换(如果未选中则选中,否则取消选中)所有可见复选框。 在FF和IE6 / 7中测试。

To install, add this to your bookmarks/favourites:

要安装,请将其添加到您的书签/收藏夹:

Toggle 'em all 全部切换

Here are
这是 some 一些 checkboxes 复选框 for 对于 your 你的 testing 测试 pleasure. 乐趣。

The reading friendly code:

阅读友好的代码:

javascript:(function(){
function checkFrames(w) {
 
  try {
    var inputs = w.document.getElementsByTagName('input');
    for (var i = 0; i < inputs.length; i++) {
      if (inputs[i].type && inputs[i].type == 'checkbox'){
        inputs[i].checked = !inputs[i].checked;
      }
    }
  } catch (e){}
  if(w.frames && w.frames.length>0){
    
    for(var i = 0; i < w.frames.length;i++){
      var fr = w.frames[i];
      checkFrames(fr);
    }
  }
}
checkFrames(window);
})()

Tell your friends about this post on Facebook and Twitter

在Facebook和Twitter上告诉您的朋友有关此帖子的信息

翻译自: https://www.phpied.com/checktoggle-em-all/

切换检查超时时间


http://www.niftyadmin.cn/n/1306563.html

相关文章

Java Web项目(Extjs)报错八

1、Java Web项目&#xff08;Extjs&#xff09;报错八 具体报错如下&#xff1a; org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into FrameworkTest.t_module (text, url, mgrUrl, orderNo, leaf, iconCls, pa…

权重计算matlab视频,层次分析法各权重计算的MATLAB程序

层次分析法各权重计算的MATLAB程序clcclear %修改对比矩阵、一致性检验就可以a[1,1,1,4,1,1/21,1,2,4,1,1/21,1/2,1,5,3,1/21/4,1/4,1/5,1,1/3,1/31,1,1/3,3,1,12,2,2,3,3,1];[x,y]eig(a);eigenvaluediag(y);lamdaeigenvalue(1); ci1(lamda-6)/5;cr1ci1/1.24w1x(:,1)/sum(x(:,1…

Java Web项目(Extjs)报错九

1、Java Web项目&#xff08;Extjs&#xff09;报错九 具体报错如下&#xff1a; 三月 26, 2014 11:48:35 下午 org.hibernate.util.JDBCExceptionReporter logExceptions 警告: SQL Error: 1062, SQLState: 23000 三月 26, 2014 11:48:35 下午 org.hibernate.util.JDBCExcepti…

php中数组函数大全,php数组的内置函数大全

1.array_change_key_case($arr,CASE_UPPER/CASE_LOWER)将$arr的键值转换为大写或者小写2.array_combine($arr1, $arr2) $arr1的值作为键,$arr2作为值生成后返回新的数组3.array_key_exists(‘key’, $arr)$arr中是否存在key&#xff0c;如果存在返回true&#xff0c;如果不存在…

mdb 转db_葡萄牙语的DB-2-MDB2

mdb 转dbThrough a trackback I found out that Walter Cruz has translated my DB-2-MDB2 article in a language I was led to believe is Brazilian Portuguese. 通过引用&#xff0c;我发现Walter Cruz用一种我认为是巴西葡萄牙语的语言翻译了我的DB-2-MDB2文章。 the anno…

NetBeans导入项目jar路径错误解决办法

NetBeans导入项目jar路径错误解决办法 1、NetBeans中导入项目jar路径出错&#xff0c;单击项目右键&#xff0c;选择“属性”&#xff0c;找到“库” 2、找到错误jar&#xff0c;全部勾选 3、单击“移除”按钮 4、找到项目路径&#xff0c;打开web--->WEB-INF--->lib&…

ie样式表没有加载_IE中的用户样式表

ie样式表没有加载Lets say you want to quickly try out some small stylesheet changes, but you dont want to (or prefer not to, or for some reason temporarily you just cant) modify your applications CSS file(s). In FF its easy - you have Firebug and you can pl…

NetBeans部署项目(Extjs)报错(一)

NetBeans部署项目&#xff08;Extjs&#xff09;报错&#xff08;一&#xff09; 1、用NetBeans将项目部署到Tomcat中&#xff0c;报错。 具体如下&#xff1a; ant -f D:\\NetBeans\\workspace\\FoundationDatabase -Dbrowser.contextD:\\NetBeans\\workspace\\FoundationData…