Hacker News new | ask | show | jobs
by andrewmackrodt 1246 days ago
For non firefox users wanting to manually render the page, grab the base64 output from the link response header, e.g.

- open developer tools, navigate to network and refresh

- or run from a terminal "curl -s --head 'https://danq.me/wp-content/no-code-webpage/' | sed -nE 's/.*base64,([^>]+)>.*/\1/p'"

- replace the base64 into the below code:

document.head.innerHTML='<style>'+decodeURIComponent(atob('Ym9...9IA').split('').map(c => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)).join(''))+'</style>'

- paste the above string into the developer tools console and press return

1 comments

Or, use a different browser just to view this page.
Come on, this is Hacker News, not Yahoo Answers.
Its funny you said Yahoo Answer and not Stack Overflow, Reddit or something similar. Haven't heard of the name for a very very long time.
I mean, a hack that actually worked would be more impressive than a hack that doesn't generally work, except on one implementation.