Amazon's HTML code has a DUCK that says MEOW (2016)(twitter.com)
twitter.com
Amazon's HTML code has a DUCK that says MEOW (2016)
https://twitter.com/slidenerdtech/status/742669421148278784
14 comments
If it looks like a duck, swims like a duck, and meows like a cat... well, 2/3 ain't bad.
Does that mean that it fails at duck typing?
...and the new BBC news site has this pop up in the console:
B B C NEWS
Hi there! Do you want to help build a fast and accessible web experience used by over 300 million people around the world each month? We're hiring people for all sorts of roles. Head on over to http://careerssearch.bbc.co.uk/ (search for "News") to find out more!
Which we have all seen before, but they do CSS in the console for the B B C News 'banner' which I have not worked out how to do yet.
B B C NEWS
Hi there! Do you want to help build a fast and accessible web experience used by over 300 million people around the world each month? We're hiring people for all sorts of roles. Head on over to http://careerssearch.bbc.co.uk/ (search for "News") to find out more!
Which we have all seen before, but they do CSS in the console for the B B C News 'banner' which I have not worked out how to do yet.
Styling console output with CSS:
https://developers.google.com/web/tools/chrome-devtools/cons...
https://developers.google.com/web/tools/chrome-devtools/cons...
in chrome, click the link in the console next to it that says `init.js:1` and then click the `{}` at the bottom to pretty print the file - it should take you to around line 210 and show you the whole console line which will show you how its done. More information here: https://developers.google.com/web/tools/chrome-devtools/cons...
[deleted]
Huh, interesting. There's been an HTML comment saying 'MEOW' at the bottom of Amazon pages for a long time[1], but I've never seen the duck-say version!
[1] Here's a mention from 2010, but I suspect it goes back much further than that: https://www.reddit.com/r/todayilearned/comments/azljs/til_am...
[1] Here's a mention from 2010, but I suspect it goes back much further than that: https://www.reddit.com/r/todayilearned/comments/azljs/til_am...
Another interesting case: https://www.amazon.com/gp/product/B0015TG12Q/ref=sa_menu_kdx...
View source.
View source.
<!-- NAV-JAVA-WEB-APP-QUACK-QUACK -->
...for anyone who doesn't fancy looking through nearly twenty thousand (!) lines of markup and JavaScript.
...for anyone who doesn't fancy looking through nearly twenty thousand (!) lines of markup and JavaScript.
Shorteners are poor form on HN. Yours looks like this https://www.amazon.com/gp/product/B0015TG12Q/ref=sa_menu_kdx... so it doesn't take up much space on the page even if it's really long.
Ah didn't know that, thanks!
I see what you did there.