answersLogoWhite

0


Best Answer

Javascript is a client-side script, meaning the only things it can do - without extending its reach into AJAX involve the DOM. If you want to ban someone on a forum, for instance, you'll need to have access to the database, and either use simply PHP, ASP, or whatever the forum is built with, or a combination of one of the aforementioned languages with the AJAX side of JS to ban someone. But that requires direct access to the server. From your request, I'm guessing you don't have access to the forum's ACP, and hence, not the server either. In other words, it's not going to happen.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In javascript how do you make a script to ban someone?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the methods devised for finding and removing both syntax and logic errors?

al baigne tange zot fer bien ban zen, ban bbc


Is Science technology is boon or ban?

Definitely science technology is a boon!


What is a difference between b-15 lens on ray-ban glasses and polarized lens?

B-15 lens are brown in color and G-15 lenses are gray-green. Polarized lenses come in both colors and on the lens it's written Ray Ban P


Why is it important to phase out the use of chlorofluorocarbons?

Countries agreed at the Montreal Conference to ban the use of chlorofluorocarbons (CFCs). It was clear to everyone that CFCs were damaging the ozone layer and this could lead to severe damage to humans. This ban has been the most successful international intervention ever. No CFCs are now being released and scientists hope the ozone level will have self-repaired by 2060 (CFCs hang about in the atmosphere for up to 75 years!).


Would a ban on mobile homes in tornado-prone areas be a good idea or a bad one?

That would be a matter of individual opinion and could be debated endlessly. Generally, bans of any kind are a bad idea on the basis that they can turn normally law-abiding citizens into criminals and of course that ban has to be enforced at cost to the law-makers. In this case, the ban is in the interests of safety and can be considered a good idea on that basis. However, life would be rather boring if everything was super-safe with all risks eliminated. Carry on debating this at your leisure. Edit: I would like to add that most people who live in mobile homes cannot afford to buy a house. Telling them they cannot own a mobile home would leave many of them living on the street, and drive up the cost of apartments as the thousands of now homeless people tried finding a place to live.

Related questions

How do you ban people from your place in roblox?

To ban someone from your place you must have an admin commands script. you put there name in the the Banned list. Or just simply get the banned from roblox lol


How do you make people banned on roblox?

You can not ban someone from the website. You can only ban someone from your place. Only the workers and admins of roblox can ban users


How do you ban people on Roblox script builder?

print("Ban Script 1.0 Loaded") speakers = {"Your Name"} banned = {"Someone You Hate"} ------------------------------------------------DONT MESS WITH ANYTHING BELOW------------------------------------------- function checkSpeakers(name) for i,v in pairs(speakers) do if (string.upper(name) newPlayer.Name:lower()) then newPlayer:Remove() end end if checkSpeakers(newPlayer.Name) then newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end) end end game.Players.PlayerAdded:connect(onPlayerEntered) ------------------------------------------------------------------------------------------------------------------------------------------


How do you ban someone on xat?

Only a moderator(white) or owner(orange) can ban someone, first click on their name, and then select "ban". Enter a time and reason for banning.


Can you ban someone who hasn't broken any laws?

It depends on what you want to ban them from.


What are the times of ban in Minecraft?

Usually, the ban is permanent until someone unbans you.


OMGPOP kick suggestion?

<html> <head> <title>Untitled Normal Page</title> <SCRIPT LANGUAGE="JavaScript"> function confirmAction() { return confirm("Are you sure you want to submit this?") } </SCRIPT> </head> <body> <h2><em>Why are you kicking?</em></h2> If you are found to be making invalid reasons then your kicks will be limited or you will receive a temporary ban<em></em><br> <br> </form> </body> </html> <!-- Script by hscripts.com --> <script type="text/javascript"> //Edit the counter/limiter value as your wish var count = "300"; //Example: var count = "175"; function limiter(){ var tex = document.myform.comment.value; var len = tex.length; if(len > count){ tex = tex.substring(0,count); document.myform.comment.value =tex; return false; } document.myform.limit.value = count-len; } </script> <!-- Script by hscripts.com --> <!-- Script by hscripts.com --> <form name="myform" METHOD=POST> <textarea name=comment wrap=physical rows=3 cols=40 onkeyup=limiter()></textarea><br> <script type="text/javascript"> document.write("<input type=text name=limit size=4 readonly value="+count+">"); </script> </form> <!-- Script by hscripts.com --> <html> </td><td class="table8"><input type="button" name="shorttext" value="Send!" onClick="alert('The player has now been kicked!'); return false"><br> </html> <html> <br> <input type=button value="Back" onClick="history.go(-1)"> </html>


How do you ban someone on chatroll?

by killing them


How do you ban if someone abuse?

Report.


How do you ban someone on wolfquest?

Only the admin can ban people on WolfQuest, no one else.


How do you ban people on tinychat?

First, you have to become a mod on tinychat... by the owner. Then if you want to ban them click there name, & hit ban.


Is the smoking ban a good or bad idea?

The smoking ban may save the life of someone you know.