News for hackers. Stuff that matters.
Re:The XSS Game by Google by dstjean on Wednesday November 23, 2016 @07:16PM (#13026897)
Level 6: You can exclude the protocol entirely (eg: "//news.ycombinator.com")

This will ensure the browser uses the "current protocol" as in if your website is browseable from http all request //www...com will be http and if your page is fetched using https, all resources starting with //www.hn.com will be loaded using https

if your website was reachable from protocol xyz://mydomain.com, all resources starting with // would be fetched using the xyz:// protocol

Re:The XSS Game by Google by jtinder on Friday November 25, 2016 @11:24AM (#13037763)
or you can simply add a space after #