csdn forum technical area average score function_javascript skills
1 Average points will be given to each person (repeated replies will only be given one point):
javascript:var t=function(tag,s) { return (s ||document).getElementsByTagName(tag);};var n=function (name){return document.getElementsByName(name)};var total=t("var")[0].innerHTML-0;var scores=n("tb_score");var lz=t("a",t ("var")[0].parentNode)[0].innerHTML;var c={};c[lz]=lz;for(var i=0;i
Source code:
var t=function(tag,s) { return (s ||document).getElementsByTagName(tag);};
var n=function(name){return document.getElementsByName(name)};
var total=t("var")[0].innerHTML-0;
var scores=n("tb_score");
var lz=t("a",t("var" )[0].parentNode)[0].innerHTML;
var c={};
c[lz]=lz;
for(var i=0;i
if(!c[v]) {
c[v]=v;
scores[i].value=scores[i].value-0 1;
total--;
if(total==0)break;
}
if(i==scores .length-1){i=-1;c={};c[lz]=lz;}
};
alert("ok");
2 each The average floor score:
javascript:var t=function(tag,s) { return (s ||document).getElementsByTagName(tag);};var n=function(name){return document.getElementsByName(name) };var total=t("var")[0].innerHTML-0;var scores=n("tb_score");var lz=t("a",t("var")[0].parentNode) [0].innerHTML;for(var i=0;i
Source code:
var t=function(tag,s) { return (s ||document).getElementsByTagName(tag);};
var n=function(name){return document.getElementsByName(name)};
var total=t("var")[0].innerHTML-0;
var scores=n("tb_score");
var lz=t("a",t("var") [0].parentNode)[0].innerHTML;
for(var i=0;i
scores[i].value=scores[i].value-0 1;
total--;
if(total==0)break;
}
if(i==scores.length-1)i=-1;
};
alert("ok");
Explanation: Change the above Just put the code in the address bar of the post closing page and press Enter. Only use it once, otherwise negative points will occur.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



The discuz forum is an online forum software, also known as BBS. It is a program system used to establish forum communities on the Internet. Zhiyo's powerful forum software can help users build a professional and complete forum community, and can implement a variety of functions, such as building user registration, logging in, viewing topics, publishing posts, making comments, setting up moderators, etc. Allow users to easily manage and maintain the forum community.

Discuz forum permission management: Read the permission setting guide In Discuz forum management, permission setting is a crucial part. Among them, the setting of reading permissions is particularly important, as it determines the scope of content that different users can see in the forum. This article will introduce in detail the reading permission settings of the Discuz forum and how to flexibly configure it for different needs. 1. Basic concepts of reading permissions In the Discuz forum, reading permissions mainly include the following concepts that need to be understood: Default reading permissions: Default after new user registration

PHP forums include: 1. PHP Forum, the forum section of the PHP official website, which is an important platform for communication among PHP developers; 2. phphub, a well-known PHP technology community in China and one of the largest PHP technology forums in China; 3. Laracasts, an online learning platform for the Laravel framework; 4. Reddit PHP, a world-renowned social news aggregation website; 5. SitePoint, a comprehensive technology community that provides everything from web design to development.

Lin Feng Social Forum Mini Program | H5 Forum | App Forum is a front-end and back-end separated social forum Q&A post/BBS project developed by java+vue+uniapp, including forum graphic posts, videos, circles, IM private chat, WeChat payment, and paid posts. , points check-in, wallet recharge and other forum mini-program forum app complete functions.

In the Discuz forum system, user login problems are one of the common problems faced by users. Problems such as failed logins, inability to remember passwords, and inability to use third-party logins often trouble users and affect user experience. This article will introduce you to some methods to solve Discuz login problems and help you browse the forum easily. Login failure problem resolution: Login failure is one of the most common problems. To solve the problem of failed login, first carefully check whether the entered username and password are correct and make sure there are no input errors. If you confirm that the input is correct, but still

Discuz Forum Hot Post Setting Guide With the rapid development of the Internet, the forum, as an important online community platform, plays an important role in connecting users, sharing information and exchanging opinions. In the Discuz forum, hot posts are one of the important ways to attract users and increase forum activity. By setting hot posts, administrators can display high-quality content at the top, stimulate users to participate in discussions, and increase the exposure and click-through rate of posts. This article will introduce how to set up the hot post function in the Discuz forum and provide specific code examples.

Detailed explanation of how to modify the avatar in the Discuz forum. In the Discuz forum, the avatar is an important part of the user's profile, which can help users show their personality and characteristics. By default, the Discuz forum provides some avatars for users to choose from, but sometimes users want to use avatars designed by themselves or found from external websites. This article will introduce in detail how to modify the avatar in the Discuz forum and provide specific code examples. Step 1: Log in to the Discuz backend management interface. First, you need to log in to

Discuz Forum Introduction and Usage Guide With the development of the Internet, forums have become an important platform for many people to communicate and share information. Among them, Discuz is one of the most popular forum systems in China. It is famous for its rich functions and ease of use. This article will introduce the basic features of the Discuz forum, how to use the forum system to post, reply, etc., and provide some specific code examples to help readers better master related skills. 1. Basic features of Discuz forum and rich functions: Discussion on Discuz
