Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Leaderboard

  1. Juggles

    $100.00 Donor
    14
    Points
    9601
    Posts
  2. Czar

    Global Moderator
    12
    Points
    23654
    Posts
  3. Rudie

    Members
    10
    Points
    2847
    Posts
  4. Chris

    Scripter II
    10
    Points
    8365
    Posts

Popular Content

Showing content with the highest reputation on 01/11/17 in Posts

  1. 9 points
    what the fuck dude
  2. ๐Ÿ‘‘CzarScripts #1 Bots ๐Ÿ‘‘ ๐Ÿ‘‘ LATEST BOTS ๐Ÿ‘‘ If you want a trial - just post below with the script name, you can choose multiple too. ๐Ÿ‘‘ Requirements ๐Ÿ‘‘ Hit 'like' ๐Ÿ‘ on this thread
  3. Earth? Terrible name for a planet. Might as well call it DIRT, Planet Dirt...
  4. Didn't you make a thread like this last month when you were spinning flax and then had your farm banned the next day
  5. Script Version: 40.0 | Last Updated: 10/11/2023 [MM/DD/YYYY] LEADERBOARDS: https://cnar.dev/projects/edragons/leaderboard.php Script Progress Pictures Script Development Updates Script Manual GUI Settings (Disable Ad-block to see Images) Gui Saving / Loading: When selecting 'Save settings' a pop up directory will show up. Set a file name under "File name:" then click 'ok' or 'save'. It will save as a .txt file. When selecting 'Load settings' a pop up directory will show up. Simply find your saved .txt file and click it. Once selected, select 'ok' or 'load'. Safe-Spotting Mode: Please start the script at your preferred safe spot when selecting this option and pressing start OR load your saved settings.txt file to auto fill your safe spot! Looting Bag Mode: If toggled, it will use random behavior when adding bones or hides to the Looting Bag! If you happen to die the script will have added it to the lootlist and retrieve it once it spawns on dragon death and continue using it!. Loot distance: Default = 10 Tiles away from your player. Set your custom distance if you prefer. Loot range ammo: Loots the ammo type you have equipped if you are ranging! Default = Stack of 5 Bolts on floor Special Attack: Uses special attack during combat [Main weapon support only!] Deathwalk Mode: Handles death and regears with the equipment set from on start of the script. Current Modes Supported [BETA]: Under production. No guarantee that it is 100%. Green Dragons: West wilderness East wilderness Graveyard wilderness Lava maze wilderness Myth guild [BETA] Blue Dragons: Taverly Watchtower Ogre enclave Heroes' guild Myth guild [BETA] Black Dragons: Taverly Lost city chicken shrine Myth guild [BETA] Metal Dragons: Brimhaven Brutal Dragons: Black dragons in zeah catacombs [BETA] Blue dragons in zeah catacombs [BETA] Red dragons in zeah catacombs [BETA] Mode Help Blue Dragons Supported safespots for taverly mode only. *Other modes can use any spot* Near the agility pipe | Less traffic but with lower profit/hr Inside the Expanded blue dragon room Items | Requirements Anti-dragon shield Ranged/Melee/Magic support! Food Prayer potions *Blowpipe mode taverly mode* Summer Pie *Taverly mode* Falador teleports *Taverly mode* Dusty key *Taverly mode* Dueling rings *Watchtower mode or Heroes guild mode* Games necklaces *Heroes guild mode* Black Dragons Supported safespots Anywhere in the dragon area. Items | Requirements Anti-dragon shield Ranged/Magic support only! Food Anti-poisons *If taverly mode* Falador teleports *If Taverly mode* Dusty key *If Taverly mode* Raw chicken *Lost city mode* Green Dragons Ranged/Melee/Magic support! Supported safespots Graveyard: Anywhere in the myth guild or lava maze dragon area. Items | Requirements East Dragons: Dueling ring *Not optional* Games necklace *Optional* Glory *Optional* Metal Dragons Items | Requirements Select Bury bones option + Dragon bones in loot table to bury bones! Banking is not supported. Please start at the dragon room. It will randomly choose a metal dragon. Range / Magic only support Brutal Dragons Items | Requirements Ranging potions Extended antifire potions Prayer potions Food prayer > 43 rope tunnel route unlocked Start at blast mine bank At this time it will auto grab my set amount of prayer pots. Full GUI customization will come soon. CLI Information Script ID: 898 Create your own file & save under c/users/osbot/data as filename.txt Mode names "Blue dragons(Taverly)", "Blue dragons(Watchtower)", "Blue dragons(Heroes guild)", "Blue dragons(Myth guild)", "Black dragons(Taverly)", "Black dragons(Lost City)", "Black dragons(Myth guild)", "Green dragons(West)", "Green dragons(Graveyard)", "Green dragons(Lava maze)", "Green dragons(Myth guild)", "Metal dragons(Brimhaven)", "[BETA]Brutal dragons(Black)" Food names "Trout", "Salmon", "Tuna", "Potato with cheese", "Lobster", "Swordfish", "Jug of wine", "Monkfish", "Shark", "Manta ray", "Tuna potato", File creation template *See gui for options* *Create your own for validation*: #Dragon GUI Settings #Fri Mar 30 20:14:43 EDT 2018 checkSummerPieActive=false checkEatToFull=true textFoodAmount=1 checkBurningAndGlory=false checkRanarrWeed=true radioWorldHopper=false radioStrengthPotionRegular=false checkRegularWalker=false radioAttackPotionSuper=false radioSpecialAttack=false checkAdamantHelm=true checkWalkToBank=false checkGloryAndGames=false checkLootingBag=false radioMagicPotion=false radioSafeSpot=true radioRangePotion=true radioStrengthPotionSuper=false textWorldHopCount=7 checkRespawnTeleport=false comboDragonsMode=Blue dragons(Watchtower) radioCombatPotion=false checkAutoEatAt=false checkNatureRune=true textEatAt=60 checkAdamaniteOre=true checkBuryBones=false checkGamesAndDueling=false radioAntipoisonPotion=false checkRubyDiamondCombo=false checkSafetyTeleport=false checkRuneDagger=true checkLootAmmo=true radioAttackPotionRegular=false checkBlowpipeActive=false radioAntifirePotion=false checkDragonhide=true checkDragonBones=true checkGloryOnly=false textLootDistance=10 safeSpot=2443,3083,0 checkAntiPK=false checkClueScroll=false checkBurningAndDueling=false comboFoodType=Shark checkDeathwalking=false Bug Report Template Status in the paint(Screenshot): Client Version: "Osbot x.x.x" Client Type(Mirror Mode OR Stealth Injection): Inventory layout: Equipment layout: GUI settings (Screenshot(s)): What is the error that is occurring? How can I replicate this error? Logger output (Screenshot): GRAB YOUR OWN DYNAMIC SIGNATURE HERE https://cnar.dev/projects/edragons/users/All_Users.png //This gives you the all users image (600x200) I encourage you to display your signatures and linked to the thread! Would appreciate that To get your own just do (Case sensitive) https://cnar.dev/projects/edragons/users/YourNameHere.png if your osbot name has spaces (ex. Cool doot 33) https://cnar.dev/projects/edragons/users/Cool doot 33.png PURCHASE HERE
  6. I have decided to part ways with the logo and will sell it as a package deal for 10M. You will receive all files, a custom avatar, a custom signature, and an animated banner. The logo is in my signature below.
  7. 3 points
    Damn, that is the most indentation I ever seen. Could be refactored to look nicer, other than that good job!
  8. Its not the fact of value Its the fact that you say its only 3 day bidding highest wins after 3 days and you dont do it.
  9. 2 points
    Before buying, please ensure you check-out with the correct script. Swapping scripts is not possible. View in store $4.99 for lifetime access Features: All spawns - Supports every multi-crab spawn point both along the south coast of Zeah and Crab Claw Isle All combat styles - Supports Ranged, Magic and Melee combat training. The script will not bank runes of any type Saving GUI - Intuitive, re-sizeable and fully tool tipped GUI (Graphical User Interface) allowing you to tailor the script session to your needs, with configuration saving / loading Human replication - Designed with human simulation in mind - multiple options to replicate human behaviour available in the GUI Setup customiser - Inventory customiser allows you to visually see your trip setup CLI support - The script can be started from the command line All potions - Supports all relevant potion types (including divine potions!), multiple potion types simultaneously and varying potion ratios Healing in a range - Dual slider allows you to specify a range within which to consume food. Exact eat percentages are calculated using a Gaussian distributed generator at run time Healing to full at the bank - When banking, the script will eat up to full hit points to extend trip times Safe breaking - Working alongside the OSBot break manager, the script will walk to safe place approximately two minutes before a break starts to ensure a successful log out Anti-crash - Smart crash detection supports multiple anti-crash modes (chosen in the GUI): Hop worlds if crashed - the script will walk to a safe place and hop worlds until it finds a free one, at which point it will resume training Force attack if crashed - the script will fight back and manually fight pre-spawned sand crabs until the crasher leaves Stop if crashed - the script will walk to a safe place and stop Ammo and Clue looting - Clue scroll and Ammo looting system based on a Gaussian-randomised timing scheme All ammo - Supports all OSRS ammo types and qualities Spec activation - Special attack support for the current weapon to maximise your exp per hour Auto-retaliate toggling - The script will toggle auto-retaliate on if you forget Move mouse outside screen - Option to move the mouse outside the screen while idle, simulating an AFK player switching tabs Refresh delay - Option to add a Gaussian-randomised delay before refreshing the chosen session location, simulating an AFK player's reaction delay Visual Paint and Logger - Optional movable self-generating Paint and Timeout Scrolling Logger show all the information you would need to know about the script and your progress Progress bars - Automatically generated exp progress bars track the combat skills that you are using Web walking - Utilises the OSBot Web alongside a custom local path network to navigate the area. This means the script can be started from anywhere! Safe banking - Custom banking system ensures the script will safely stop if you run out of any configured items Safe stopping - Safely and automatically stops when out of supplies, ammo or runes Dropping - Drops useless/accidentally looted items to prevent inventory and bank clutter All food - Supports pretty much every OSRS food known to man. Seriously - there's too many to list! ... and many more - if you haven't already, trial it! Things to consider before trying/buying: Mirror mode - currently there appear to be some inconsistencies with behaviour between Mirror mode and Stealth Injection meaning the script can behave or stop unexpectedly while running on Mirror. I would urge users to use the script with Stealth Injection to ensure a flawless experience! Since Stealth Injection is widely considered equally 'safe' to mirror mode and comes with a host of other benefits such as lower resource usage, this hopefully shouldn't be a problem. Using breaks - the script supports breaks and will walk to a safe place ready to log out approximately two minutes before a configured break starts. However, upon logging back in, your spot may no longer be open. If you configure the crash mode to be either 'Hop if crashed' (default) or 'Stop if crashed', this will not prove to be a problem. However if using 'Force attack if crashed', the script will attempt to take back the spot by crashing the occupying player and manually attacking spawned sand crabs. Be aware that players have a tendency to report anti-social behaviour such as this! Avoiding bans - while I have done my utmost to make the script move and behave naturally, bans do occasionally happen, albeit rarely. To minimise your chances of receiving a ban, I would strongly suggest reviewing this thread written by the lead content developer of OSBot. If you take on board the advice given in that thread and run sensible botting periods with generous breaks, you should be fine. That being said, please keep in mind that botting is against the Oldschool Runescape game rules, thus your account will never be completely safe and you use this software at your own risk. Setting the script up - I have done my best to make the GUI (Graphical User Interface) as intuitive as possible by making all options as self explanatory as I could, however if you are not sure as to what a particular setting does, you can hover over it for more information. If that doesn't help, just ask on this thread! Web-walking - alongside a network of paths, the script moves around with the OSBot web-walking system, using it when in unknown territory. While it has proven very reliable, there are naturally some areas for which the web-walker may struggle. As a result, prior to starting the script, I would highly recommend manually navigating your player close to the sand crabs bank, however in practice, anywhere on Zeah should be fine. Script trials: I believe that trying a script before buying is paramount. After trying the script, hopefully you will be convinced to get a copy for yourself, but if not you will have gained some precious combat experience! If you're interested in a trial, please follow the instructions on my trials thread which can be found here. Gallery: Start up GUI (Graphical User Interface): Paint (optional, movable and self-generating): User screenshots: Recent Testimonials: Starting from CLI: This script can be started from the command line interface. There is a single parameter, which can take two (and only two) values: 'gui' or 'nogui'. 'gui' will start the script and show the gui, 'nogui' will skip the GUI setup and start the script using your save file as the configuration. To start from CLI with 'nogui', the script requires a valid GUI save file to be present - if you haven't already, start the script manually and configure the GUI to suit your needs. Then hit 'Save configuration' and in future starting from CLI will use these configured settings. The script ID is 886. Example CLI startup: java -jar "osbot 2.4.137.jar" -login apaec:password -bot apaec@example.com:password:1234 -debug 5005 -script 886:nogui
  10. Now open source: https://github.com/Explv/Explvs-AIO Download on GitHub: https://github.com/Explv/Explvs-AIO/releases/latest Explv's AIO From Tutorial Island to your dream account. Script ID: 890 CLI Usage: java -jar "OSBot 2.5.31.jar" -login osbot_user:osbot_passwd -bot osrs_user:osrs_passwd:pin -script "\"Explv's AIO v3.2\":example.config" Advanced task system featuring 7 different task types Level task: Perform an activity until a level in a skill is reached Resource task: Perform an activity until a quantity of an item has been obtained Timed task: Perform an activity for a number of minutes Quest task: Complete a quest Grand Exchange task: Buy or sell items at the Grand Exchange Break task: Pause the script for an amount of time Loop task: Repeat selected previous tasks any number of times Tutorial Island Support The script completes Tutorial Island if your player starts there, with fully randomized customer character creation GUI Preview Supported Activites Agility Cooking Crafting Firemaking Fishing Fletching Herblore Mining Ranged Runecrafting Smithing Thieving Woodcutting Quests
  11. 2 points
    Price: ONLY $8.99 LIFETIME PURCHASE (Click to Purchase) Only have RSGP? Buy an OSBot voucher HERE. COMMENT ON THE THREAD FOR A 1 TIME 24 HOUR TRIAL NOW SUPPORTS AERIAL FISHING! Feature Highlights Selectable Locations / Fish Selectable Drop Methods and Banks Script Speed Customization Other Features DEADMAN MODE SUPPORT: - Will run to closest bank if player is under attack Command-Line Interface (CLI) osFisher currently supports CLI! There is currently 1 parameter required, which is the name of your properties file Example: This will load config.properties from your OSBot/Data/osFisher folder, the properties file can be named whatever you like, in case you would like multiple setups for different bots Feel free to post here / pm me if you are having problems with this feature! Progress Reports Please submit any if you get the chance! PLEASE REPORT ANY BUGS USING THE TEMPLATE BELOW SO THEY CAN BE FIXED ASAP Minnow Support Start script on west side of the expansion platform (left if facing north)
  12. Thank you! I appreciate the help. It works beautifully now. Going to do more studying lmao. thanks again
  13. here is what it could look like: if(!getInventory().isFull()) { //Chop if(!myPlayer().isAnimating() && !myPlayer().isMoving()) { if(TREE_AREA.contains(myPlayer())) { Entity tree = getObjects().closest(AREA_HERE, TREE_NAME); if (tree != null) { if(tree.interact("CHOP??")) add sleep here } } } }
  14. ICHTY BITCHY RUSTY MY ASS
  15. Most boring thread of 2017. Gratz
  16. Try running 1 bot per client, running more than 1 per client can cause lag
  17. 2 points
    does he even have an osbot acc? Also why would u trade without a MM are you retarded or something
  18. check out my feedback ROFL, feedback does not count anyways quality over quantity
  19. Got A LOT of bugs worked out. I have literally rewritten the entire trapping system. Uses 1/3 of the CPU that the current version uses and has even more new features added
  20. damn bro what u need so much for
  21. Well my bond ran out the day before and I assumed Jagex would ban all the bots tuesday so I didn't renew any of them. 45 accounts got banned Tuesday for me.
  22. Want to buy with OSGP? Contact me on Discord! Detailed feature list: - Task/progressive based setup - Gem cutting - Amethyst cutting - Glassblowing - Molten glass smelter - Armour crafting - Jewelry crafting/smelting - Jewelry stringing - Battlestaff combinging - Flax picking + spinning - Drift net weaving - Hide tanning - Shield crafting - Birdhouse crafting - Clockwork crafting - CLI support for goldfarmers Custom Breakmanager: - Setup Bot and break times - Randomize your break times - Stop script on certain conditions (Stop on first break, Stop after X amount of minutes, Stop when skill level is reached) - Worldhopping - Crucial part to botting in 2024! Script queueing: - Support queueing multiple script in a row - All Khal scripts support flawless transitions in between scripts - Start creating your acc in a few clicks from scratch to multiple 99's - Flawless CLI support - Learn more here: How to use CLI parameters: - Example Usage: -script 666:ScriptFile.BreakFile.DiscordFile SAVEFILE = Saved Filename BREAKFILE = Breakmanager Filename - SAVEFILE: Save file can be created in the GUI. Navigate to the tab you want to run and press "Save As CLI file". Please choose your filename wisely (No special characters) - BREAKFILE (Optional): Breakfile can also be create in the GUI, set the breaksettings you wish to use and press "Save new CLI BreakFile". Please choose your filename wisely (No special characters) - Final form (Note that with some bot manager you do not need to specify -script 666): -script 666:TaskList1.4515breaks (With breaks) -script 666:TaskList1.4515breaks.discord1 (With breaks & discord) -script 666:TaskList1..discord1 (NO breaks & discord)
  23. Want to buy with OSGP? Contact me on Discord! Detailed feature list: - Supports every altar - Supports every rune Air, Mind, Water, Earth, Fire, Body runes (Just walk back and forth) Fire runes (Ring of dueling to Castle wars) Mind runes (Ring of dueling to Castle wars + Mind altar teleport) Nature runes (Unnote at shop and walk to altar) Nature runes (Ring of dueling to Castle wars + Necklace of passage to Fairy ring) Nature runes (Ring of dueling to Castle wars + Ardougne cape to Fairy ring) Nature runes (Ring of dueling to Castle wars + Quest cape to Fairy ring) Nature runes (Ring of dueling to Castle wars + POH teleport to Fairy ring) Cosmic runes (Walks back and forth - Uses obstacles based on agility level) Cosmic runes (Ring of dueling to Castle wars + Necklace of passage to Fairy ring) Cosmic runes (Ring of dueling to Castle wars + Quest cape to Fairy ring) Law altar (Ring of dueling to Castle wars + Balloon method to Entrana) Astral altar (Teleports back to bank) Lava runes (Ring of dueling to Castle wars) Stream runes (Ring of dueling to Castle wars) Smoke runes (Ring of dueling to Castle wars) Mud runes (Walks back and forth in varrock) Mud runes (Digsite teleport) Blood runes (Arceuus) Blood runes (Ring of dueling to Castle wars + POH teleport to Fairy ring) (93 agility req) Soul runes (Arceuus) Wrath runes (Ring of dueling to Castle wars + Mythical cape ) - Pouches support - Menu invokes - Daeyalt essence support - Pouch repair - Energy/Stamina potions support - Food support - Combination rune support - Binding necklaces + Magic imbue - Abyss support (Edgeville / Ferox enclave banking) Death handler, will grab your stuff and continue (Abyss only) Abyssal bracelets/Ring of life support Pouches repair at zamorak mage - ZMI altar support Walks short unsafe path OR walks long safe path Quick prayer support Full bank mode (Add fillers so all runes get deposited, but not the pouches/Rune pouch) - Mining daeyalt essence - Master/Runners setup Setup a bunch of runners for your main account who stands at an altar Either play your main yourself or use the master mode Combination runes, magic imbue + binding necklaces available Runners can bring binding necklaces, talismans to the master Stamina potion support for runners Custom Breakmanager: - Setup Bot and break times - Randomize your break times - Stop script on certain conditions (Stop on first break, Stop after X amount of minutes, Stop when skill level is reached) - Worldhopping - Crucial part to botting in 2023! Script queueing: - Support queueing multiple script in a row - All Khal scripts support flawless transitions in between scripts - Start creating your acc in a few clicks from scratch to multiple 99's - Flawless CLI support - Learn more here: How to use CLI parameters: - Example Usage: -script 482:ScriptFile.BreakFile.DiscordFile SAVEFILE = Saved Filename BREAKFILE = Breakmanager Filename - SAVEFILE: Save file can be created in the GUI. Navigate to the tab you want to run and press "Save As CLI file". Please choose your filename wisely (No special characters) - BREAKFILE (Optional): Breakfile can also be create in the GUI, set the breaksettings you wish to use and press "Save new CLI BreakFile". Please choose your filename wisely (No special characters) - Final form (Note that with some bot managers you do not need to specify -script 482): -script 482:TaskList1.4515breaks (With breaks) -script 482:TaskList1.4515breaks.discord1 (With breaks & discord) -script 482:TaskList1..discord1 (NO breaks & discord) Proggies:
  24. 1 point
    Molly's Thiever This script is designed to quickly and efficiently level your thieving! Check out the features below. Buy HERE Features: - Capable of 200k+ per hour and 30k+ exp/ph on mid-level thieving accounts. - Quickly reaches 38 thieving to get started on those master farmers for ranarr and snap seeds! - Fixes itself if stuck. - Hopping from bot-worlds. - Stun handling so the bot doesn't just continually spam click the npc. - Drops bad seeds if inventory is full at master farmers. - Eats any food at the hp of your choosing. Supports: -Lumbridge men -Varrock tea -Ardougne cake -Ardougne silk -Ardougne fur -Kourend Fruit Stalls -Ardougne/Draynor master farmer -Ardougne/Varrock/Falador guards -Ardougne knight -Ardougne paladin -Ardougne hero -Blackjacking bandits as well as Menaphite thugs, this has limitations, click the spoiler below to see them Setup: Select your option from the drop down menu, it will tell you the location where the target is located. Fill out the gui and hit start. Simple setup! Proggies: Proggy from an acc started at 38 theiving:
  25. https://i.gyazo.com/1b27040091ad78bc74a1ded2370fe60c.mp4 after the prayer pots were empty since the prayer flicking was off it tried to drink and empty prayer potion.
  26. Cutting zenyte is about 100k profit per gem. EVERYONE GO FARM IT NOW. EXPOSED METHOD
  27. Change it to "Not gonna be able to do anything useful on OSBot today"
  28. 1 point
    it's my favourite one way smoke on this map so i knew he would be somewhere, good job i picked right spot
  29. Hey Czar i bought this script and it seems like prayer flicking is pretty off, At the moment I'm killing bloodvelds and it is not really prayer flicking i also cannot find the 2 modes you talked about in the threat. It is either prayer flicking to late or holding it to long which drains the prayer.
  30. That's the risk you take when botting my friend, can happen at any place at any moment. Some will bot for weeks while other bot for hours, it's the risk You take by botting
  31. 1 point
    Can I get a trial
  32. To the best of my knowledge mirror mode operates using the Attach API. I'm not sure if you're familiar with it, or even if you have any sort of programming experience outside of basic goldfarming scripts (going off your user title here) but if you do you should understand the loaded agent is running within the target JVM. Even if they've switched it up and do things differently now (native C++ lib with JNI?) it's still quite easy for Jagex to detect. Scanning processes, it's modules, etc. You'd have to do some fancy API hooking to even begin covering up your tracks.
  33. Even if it's not worth 60m, it can still be sold under the A/W mark. But thank you for pointing that out.
  34. no work in rock crab
  35. I solved the problem. It was just a quick bug i think
  36. 1 point
    Working flawless even on mirror mode!
  37. You gotta set the bank loadout to 1 camelot tab (if using camelot tabs) not multiple otherwise the script will be confused, it works best with: for example: 1 * Camelot teleport 20 * trout As for anti-ban and humanlike movement, yes the script does support anti-ban and humanlike movement - all tiles are randomized in the walking system by default
  38. New update (v146) - Added banking support for ardy top - Added an update for pickpocketing while stunned, try extended stun time mode until this update goes live please! - Added blackjack update -- Added lure-npc mode -- Added 'hop if blackjack npc is busy' option -- Added menaphites -- Added 'choose how many pickpockets' option, you may need to add 1 extra because the script starts pickpocketing early, but it's easily configurable -- Added two main food sources: unnote food or purchasing wines Update will be live within 24 hours After blackjack, new thieving features will be added upon request ^^
  39. 1 point
    Here is something a tad bit more clean and re-usable/generic import java.util.Random; public class EnumUtil { public static <T extends Enum<?>> T getRandomEnumValue(Class<T> clazz, Random random) { int constants = clazz.getEnumConstants().length; if(constants == 0) { throw new IllegalArgumentException("Enum class has no constants"); } return clazz.getEnumConstants()[random.nextInt(constants)]; } public static void main(String[] args) { Random random = new Random(); Tab tab = EnumUtil.getRandomEnumValue(Tab.class, random); } }

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.