Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Not really a fail, if you set your webserver to serve text/html type for .js file extension its perfectly possible. Or imagine an MVC framework handling all the routing, sooo
-
Korvax55707y@liammartens if you look at the start of the url it is file:// and not http:// so it cant be handled by a webserver, it is just opening a js file
-
@DavidKevork It is not clear in the picture. And is easy to mock your custom browser to looks like safari 8)
-
@DavidKevork Download chromium source code.
Add support to interpret js as html. Set the chrome icon.
Compile.
Profit! -
still possible. take any properly functional html page and change its extension to .js. now right click and open with chrome # ta da!!!!!
-
Other possibility.
Open an html file.
Change the Url in location bar as you want but don't press anything.
Take an screenshot.
Profit. -
asgs115637y@Grizzly actually, that is the joke. We take everything serious and look beyond what is visible
Related Rants
Silicon valley season 1 - episode 10
Filename: devrewrite_v092.js
A javascript file running html code
undefined
fail
silicon valley
javascript