* Implemented according to instructions but not working * Exclude touch screen windows (see in Issues on library repo) * Make the banner generic * Moved icon_url to generic section * Hide in Safari * Use injection script with ENV variables instead manual update * debugging * Use CDN for js and css * PR
15 lines
1.1 KiB
HTML
15 lines
1.1 KiB
HTML
<!-- Smartbanner: Configure the mobile app -->
|
|
<meta name="smartbanner:title" content="SMARTBANNER_APP_NAME">
|
|
<meta name="smartbanner:author" content="SMARTBANNER_ORG_NAME">
|
|
<meta name="smartbanner:icon-apple" content="SMARTBANNER_ICON_URL">
|
|
<meta name="smartbanner:icon-google" content="SMARTBANNER_ICON_URL">
|
|
<!-- Smartbanner: The rest of the configurations can be kept as is -->
|
|
<meta name="smartbanner:price" content="FREE">
|
|
<meta name="smartbanner:price-suffix-apple" content=" - On the App Store">
|
|
<meta name="smartbanner:price-suffix-google" content=" - In Google Play">
|
|
<meta name="smartbanner:button" content="VIEW">
|
|
<meta name="smartbanner:close-label" content="Close">
|
|
<meta name="smartbanner:exclude-user-agent-regex" content="^.*(Windows NT|Intel Mac OS X).*$">
|
|
<script src="https://cdn.jsdelivr.net/npm/smartbanner.js@1.22.0/dist/smartbanner.min.js"></script>
|
|
<link href="https://cdn.jsdelivr.net/npm/smartbanner.js@1.22.0/dist/smartbanner.min.css" rel="stylesheet">
|
|
<!-- Smartbanner: End configuration --> |