Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Main › General › Anybody know about java

Anybody know about java

Posts 1–2 of 2 · Page 1 of 1
SATANICAT
SATANICAT
Anybody know about java
I wanna learn some more java from some people that know it better than I do
and If somebody has visualstudio think they could send me it
#1 · 20y ago
ace76543
ace76543
well, you need to be more specific (YES another chance for ace to make a long post!! yay)


First off, do you need to know basic html? YES

NOTE: Before we go on, there's something else we should make clear. Javascript and Java are two completely different things. What we will do is Javascript, NOT Java. Java is a whole nuther thing. The only real thing the two have in common are the letters J-A-V-A in their name. Long long ago, in a land far away, Netscape made a new scripting language for their browser. They called it LiveScript. About that time, the Java programming language was gaining in popularity so the folks at Netscape renamed their scripting language to JavaScript to catch the Java wave. The two have been confused ever since. To add to the confusion, Microsoft saw that this scripting thing was pretty cool so they decided to incorporate it into their browser too. Except they call their flavor of javascript Jscript. (Gee, what a clever bunch.)

Now, to further add to the confusion, not only are there differences between Netscape's javascript and Microsoft's Jscript, but because this scripting is an evolving technology, there can be even further differences between scripting support depending on what version of browser you're using... oh goodie. Well, here's the good news... most of the javascript you'll get into is simple basic stuff that is easily handled by the majority of modern browsers. And ALL of the scripting we'll touch on in this tutorial is easily handled by all the major browsers.




Copy the following and save as hello.html
Code:
<html>
<head>
<title></title>
</head>
<body>
text and shit goes in here
</body>
</html>
Then add script tags within the head section. The script tags tell the browser that some sort of scripting is contained between (in this case "javascript").
Code:
<html>
<head>
<title></title>

<script type="text/javascript">

</script>

</head>
<body>
text and shit goes in here
</body>
</html>
Again, our script tags are within the head section, not the body.

Now we'll make a function. A function does something. It executes a series of instructions. We'll start with an empty shell...
Code:
<html>
<head>
<title></title>

<script type="text/javascript">

function ()
{
}

</script>

</head>
<body>

</body>
</html>
We'll name our function HelloWorld. We'll add that, and an alert box that say's "Hello World!"...
Code:
<html>
<head>
<title></title>

<script type="text/javascript">

function HelloWorld()
{
   alert ("Hello World!");
}

</script>

</head>
<body>

</body>
</html>
Notice how the function is structured. The word function declaring that it is in fact, a function. The function name - HelloWorld. The parentheses ( ), these have a use that we'll get into later, and the curly brackets - { } that contain the set of instructions.

So, that's it for the function in the head tags. It's just sitting there waiting for something to call it. How about we make it execute when we click on a link? Sounds good to me. Here's a generic link that points nowhere for now...
Code:
<html>
<head>
<title></title>

<script type="text/javascript">

function HelloWorld()
{
   alert ("Hello World!");
}

</script>

</head>
<body>

<a href="">Hello</a>

</body>
</html>
Make it point to our function...

<html>
<head>
<title></title>

<script type="text/javascript">

function HelloWorld()
{
   alert ("Hello World!");
}

</script>

</head>
<body>

<a href="javascript:HelloWorld()">Hello</a>

</body>
</html>

PS: is the guy with the tootsie pops in your siggy j mann? (his real name is jason popson o0o00o0oo0o0)
#2 · edited 20y ago · 20y ago
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

  • anybody know about god modeBy ssjgoku4 in Crysis 2 Help
    0Last post 15y ago
  • Anyone here know about rakionBy terence in General Gaming
    14Last post 20y ago
  • Somthing You might or might not know about see trought wall hackBy apezwijn in WarRock - International Hacks
    6Last post 18y ago
  • What you know about math?By arunforce in General
    2Last post 19y ago

Tags for this Thread

None