Skip to content

Instantly share code, notes, and snippets.

@pixelpylon
pixelpylon / ie-detect.html
Created April 29, 2019 21:50
check if browser is ie and alert
<script>
function ie() {
var ua = navigator.userAgent;
if (ua.indexOf("Trident") > -1) {
message = "Welcome to our Site! It seems that you are using Internet Explorer. Time to switch.";
alert(message);
}
}
setTimeout(ie,3600);
</script>
@pixelpylon
pixelpylon / travel-agency-schema.html
Last active June 16, 2025 20:13
microdata schema for travel agency
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "TravelAgency",
"name": "FreeTours",
"address": {
"@type": "PostalAddress",
"streetAddress": "",
"addressLocality": "New York",
"addressRegion": "NY",
@pixelpylon
pixelpylon / tour-schema.html
Created April 12, 2019 18:58
Tour Product Schema
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.92",
"reviewCount": "221"
},
"description": "Baldur's Gate Tour unveils the incredible secrets beneath the Faerun. Discover hidden treasures buried under thousands of years of history!",
@pixelpylon
pixelpylon / meta-tags.md
Created June 1, 2018 02:17 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">