The Spanner logo
    • Home
    • Blog
      • Blog home
      • RSS
    • Login
    • Home
    • Blog
      • Blog home
      • RSS
    • Login
    The Spanner logo

    The Spanner
    Web security blog

    Made by Gareth Heyes
    Follow me on Twitter: @garethheyes

    Javascript for hackers!

    Hackvertor logo
    Shazzer logo
    My Github account
    Recent posts
    Introducing Feedworm: A Privacy-First RSS Reader That Lives in DevToolsSpeedy RSVP extensionAutoVaderHackvertor history and tag finderShadow Repeater v1.2.3 releaseBurp Hackvertor v2.1.24 releaseHacking roomsXSSing TypeErrors in SafarivalueOf: Another way to get thisMaking the Unexploitable Exploitable with X-Mixed-Replace on FirefoxThe curious case of the evt parameterCSS-Only Tic Tac Toe ChallengeRewriting relative urls with the base tag in SafariBypassing DOMPurify with mXSSNew IE mutation vectorHow I smashed MentalJSMentalJS DOM bypassAnother XSS auditor bypassXSS Auditor bypassBypassing the IE XSS filterUnbreakable filterMentalJS bypassesmXSSJava SerializationBypassing the XSS filter using function reassignmentRPOSandboxed jQueryX-Domain scroll detection on IE using focusEpic fail IEnew operatorDecoding complex non-alphanumeric JavaScriptHacking FirefoxDOM ClobberingBypassing XSS AuditorThe evolution of codeNon-Alpha PHP in 6-7 charsetTweetable PHP-Non AlphaMentalJS for PHPOpera x domain with video tutorialSandboxing and parsing jQuery in 100ms

    Keeping safe online

    By Gareth Heyes (@hackvertor)

    Published 18 years 8 months ago • Last updated March 22, 2025 • ⏱️ 2 min read

    ← Back to articles

    Ok I apologise for the cheesy title but it's all that I could think of :) a mate of mine asked me to do a post on how to protect your browser when you're online so here goes. First off it's impossible. That's right impossible, you can't make your browser 100% secure, all you can do is reduce your chances of being exploited.

    The best way of reducing your chances is to use an obscure browser or lockdown your settings. For example turn off javascript and plugins, I can hear you in the background no way! I can't browse the web like that! You're right it's pretty impossible to do that. So the solution? Use noscript [1] and Firefox [2]. Noscript allows you to selectively choose which sites you allow javascript, flash etc and you can have trusted and untrusted sites. This will improve your security no end and provide you with a safer browsing experience.

    You can also customise noscript (which I recommend) simply left click on the "S" icon on the bottom right of Firefox and select options, under the appearance tab UNCHECK "Allow scripts globally" option and check that XSS protection is enabled under the advanced tab also check that Forbid Flash, Forbid Java etc is CHECKED under the untrusted tab.

    If you've followed those steps every site you now visit will be locked down and you have to manually trust each site you visit by clicking the "S" icon and selecting trust this site.

    [1] Noscript [2] Firefox

    ← Back to articles