Coder Social home page Coder Social logo

age-check's People

Contributors

carolineschnapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

age-check's Issues

Enter button forwarding to google.

Hi,

I've installed the code as shopify's website has specified, when testing the snippet the enter button acts like the exit link. Not entirely sure why it's doing that, have tried looking through the code myself and can't figure it out.

Cheers,
Jake.

Month Zero Based Index

Hi Caroline,
When testing the script the age check seemed to be 1 month off so I looked further into Javascript Date() and noticed Month should be a zero based index so I adjusted the month select options and it begin working as expected. Please let me know what you think and thank you very much for your script and time!

Google Meta Description

I was having an issue with the meta descriptions on my page. Getting hit with duplicate meta descriptions on Google Webmasters Tools.

All my meta descriptions were showing up as

ADULTS ONLY (18+) This website contains adult material and is only suitable for those 18 years or older. Click Enter only if you are at least 18 years of age.

I fixed this by moving {% include 'age-check' %} right before the closing of the body tag of the template.

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.