Skip to content

Latest commit

History

History
14 lines (13 loc) 路 853 Bytes

2022-11-10.md

File metadata and controls

14 lines (13 loc) 路 853 Bytes
publish_date tags
2022-11-10
svelte
dev-journal
  • Messing around with the weird idea in Svelte kit
    • Render all Hacker news link URLs
    • Render article URL in an Iframe
    • Invert the colour of the page with CSS to have a dark mode on all articles which doesn't support it! In conclusion, it works! but learnt that a website can deny their site being renderable on a website with X-Frame-Options: DENY
    • https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

There are interesting hacks around this to bypass the X-Frame settings. But probs not a good idea. The better solution would be to pre-render a website server side and proxy the content on your own domain.I assume this is how something like a pocket works.