carolineschnapp / age-check Goto Github PK
View Code? Open in Web Editor NEWModule to add to a Shopify website where content is restricted to adults
Module to add to a Shopify website where content is restricted to adults
Mobile screens and some desktop screens cut off the buttons at the bottom and there's no scrolling option.
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.
Hi,
Please are you able to help me, I have an 18+ "page" on my website. Am I able to just link the 18+ check to one "page" section of my website?
Thank you
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!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.