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
    Pure-CSS 3D world collision detection How to write a Hackvertor tagIntroducing 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 PHP

    We need @ urls

    By Gareth Heyes (@hackvertor)

    Published 14 years 10 months ago • Last updated March 22, 2025 • ⏱️ < 1 min read

    ← Back to articles

    Just thought I'd post the obvious and state we need @ urls. At the moment when using @ the browser assumes you want to use ftp on the site in question but I propose when using a url that begins with @ it should default to your chosen social network. @uid would resolve to twitter.com/uid or facebook.com/uid. Doesn't that make sense? Look at the adverts on TV when they say follow us on twitter for example @ourid doesn't really make sense to the average user does it? But if you could type that in directly in the browser and it could prompt you to follow the user then suddenly it's much more friendly and usable.

    How it could work

    The @ url would default to your chosen social network but display icons next to the typed in uid which would allow you to choose facebook, twitter or a different social network. If you hit return it would use your default.

    <img src="http://www.businessinfo.co.uk/labs/test_files/at-urls.jpg" />

    The social network could configure the appearance of the icon as well as the user id url to be sent to. Something like:

    
    <meta name="social network" content="text='Add twitter to your social networks?',icon='https://twitter.com/images/someicon.png',url='https://twitter.com/%s'" />
    
    

    ← Back to articles