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 › Programming › Visual Basic Programming › [HELP] Blocking Ads

[HELP] Blocking Ads

Posts 1–6 of 6 · Page 1 of 1
Jàzzà_
Jàzzà_
[HELP] Blocking Ads
Hey MPGH
I'm currently making a Runescape Bot but I was just wondering how would i remove ADS from WeBrowser1
How I got the ad URL is from making a browser thingy with a Listbox:
I have my ad URL just getting to to block is a problem the AD i want disappeared is

I have tried certain codes like
Code:
  Private Sub WebView1_BeforeNavigate2(ByVal pDisp As Object, ByVal URL As Object, ByVal Flags As Object, ByVal TargetFrameName As Object, ByVal PostData As Object, ByVal Headers As Object, ByVal Cancel As Boolean)
        'Change ads to what ever you can to cancel out eg doubleclick
        If InStr(1, URL, "http://www.runescape.com/img/advert/advert.png", vbTextCompare) Then 
            Cancel = True
        Else
            Cancel = False
        End If
    End Sub
Also
This code is suppose to change the "click=99" at the end of the url to nothing so the ad wont show but still hasn't worked
Code:
   Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If (WebBrowser1.Document.Url = New Uri("http://view.atdm*****m/2D1/iview/134671869/direct;wi.728;hi.90/01?click=")) Then
        End If
    End Sub
If anyone can help it will be much appreciated
Cheers Jàzzà
#1 · edited 16y ago · 16y ago
NextGen1
NextGen1
Just scrape the HTML and replace the HTML inside of your webbrowser

Real simple.
#2 · 16y ago
Jàzzà_
Jàzzà_
Can you please give me an example sorry I don't quiet understand what you ment about the HTML part like what to scrape out :/
#3 · 16y ago
|-|3|_][({}PT3R12
|-|3|_][({}PT3R12
He can't its all java script the html code of the page is nothing but a java object

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html style="width:100%;height:100%;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="en-gb, English" />
<meta name="keywords" content="Runescape, Jagex, free, games, online, multiplayer, magic, spells, java, MMORPG, MPORPG, gaming" />
<meta name="description" content="Join the world's most popular free MMO RuneScape by Jagex Games Studio. Complete quests and win enormous treasures in a 3D world full of magic and monsters.">
<title>RuneScape - The Number 1 Free Multiplayer Game</title>
</head>
<frameset cols="*" rows="*">
<frame style="width:100%;height:100%;margin:0;padding:0;" src="http://world45.runescape.com/,f4" width="100%" height="100%" scrolling="auto" frameborder="0" marginwidth="0" marginheight="0" />
</frameset>
</html>
#4 · 16y ago
Lonely Tedy Bear
Lonely Tedy Bear
Quote Originally Posted by NextGen1 View Post
Just scrape the HTML and replace the HTML inside of your webbrowser

Real simple.
ya but that will make everything look crappy and the game provably wont even go after that

OP add me on MSN ill help you alot im good with this kinda stuff, i program automated bots all the time
#5 · 16y ago
Lolland
Lolland
It wouldn't look crappy at all, it would look the same, only without advertisements.

I'm gonna trust Mr. Helicopter and say that since it's a Java application, you can't really remove the ad.

Unless it's Jscript.
#6 · 16y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • Help on adding a hackBy Bargin in General
    27Last post 17y ago
  • Help Blocking DisableThreadLibraryCallsBy GenX in C++/C Programming
    1Last post 17y ago
  • [HELP] Block ctrl-alt-del?By Rcaking! in Visual Basic Programming
    12Last post 16y ago
  • good so far? , [ help, by adding on, change some, etc,etc]By kublkun in Art & Graphic Design
    5Last post 16y ago
  • help with adding addies besides PTC commands in MenuBy deathninjak0 in Combat Arms Hack Coding / Programming / Source Code
    3Last post 16y ago

Tags for this Thread

None