Skip to main content

Add detectmobilebrowsers script to plone resource registry

Project description

Introduction

This addon register a modified version of detectmobilebrowsers to give a isMobile javascript variable so you can play around with javascript.

version: 18 October 2012 (check the footer of detectmobilebrowsers)

How to install

This addon can be installed has any other addons. please follow official documentation

The javascript is registred in a bundle so you will have to configure your theme to use it this way:

<registry>
  <record name="Products.ResourceRegistries.interfaces.settings.IResourceRegistriesSettings.resourceBundlesForThemes">
    <value>
      <element key="plonetheme.mytheme">
        <element>default</element>
        <element>detectmobilebrowsers</element>
      </element>
    </value>
  </record>
</registry>

Credits

Companies

People

Changelog

1.0dev (unreleased)

  • Initial release

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.js.detectmobilebrowsers-1.0.zip (19.9 kB view details)

Uploaded Source

File details

Details for the file collective.js.detectmobilebrowsers-1.0.zip.

File metadata

File hashes

Hashes for collective.js.detectmobilebrowsers-1.0.zip
Algorithm Hash digest
SHA256 4dc003d2f5e153bbae934f3810ad09c0cc9808c035b069cba82ce6efc23a61eb
MD5 b73d5b856eceacfac4ad438d45a1576f
BLAKE2b-256 54a40f992c3cbae600709aec0976caba7a7b0072716fbbe49e547ca06a645bc7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page