Giter Club home page Giter Club logo

Comments (5)

bjornstar avatar bjornstar commented on May 30, 2024

Yes it is. I think AMP is making the web worse. If you wait 8 seconds on reddit, the content will appear. It's intentionally hidden from view for 8 seconds by the AMP standard.

Here's an example:
https://amp.reddit.com/r/askscience/comments/53oaf7/discussion_minuteearths_newest_youtube_video_on/

Just wait 8 seconds.

This is why AMP needs to go away.

from hosts.

DRSDavidSoft avatar DRSDavidSoft commented on May 30, 2024

While I agree with you on the fact that AMP is useless junk, I'm not exactly sure if I'm following you correctly.

Do you mean that there's some sort of redirect from the AMP version to the original page? I'm 90% sure that this doesn't happen in my device 🤷

In any case, thank you for the explanation. I appreciate getting into the details for blocks such as this :)

from hosts.

bjornstar avatar bjornstar commented on May 30, 2024

I mean that there is a CSS rule that hides the content for 8 seconds.

      <style amp-boilerplate="">
        body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal
        both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start
        8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1
        normal both}@-webkit-keyframes
        -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes
        -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes
        -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes
        -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes
        -amp-start{from{visibility:hidden}to{visibility:visible}}
      </style>

This is "required" by the AMP specification.

from hosts.

DRSDavidSoft avatar DRSDavidSoft commented on May 30, 2024

Wow, I didn't notice that. This part of the specifications is the most idiotic thing I've seen!

Thank you for the clarification

from hosts.

p1r473 avatar p1r473 commented on May 30, 2024

Didnt know this, thanks.

from hosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.