bcubed-8.x-1.0-beta5/modules/bcubed_examples/config/install/bcubed.condition_set.example_adfuscate.yml

modules/bcubed_examples/config/install/bcubed.condition_set.example_adfuscate.yml
langcode: en
status: false
dependencies:
  module:
    - bcubed_adfuscate
id: example_adfuscate
label: '[Example] Request AdBlockers be Disabled '
description: 'Present an overlay to users using adblockers, requesting they disable their adblocker before viewing the page.'
weight: 10
events:
  -
    id: adblocker_detected
    data: {  }
conditions: {  }
actions:
  -
    id: adfuscate
    data:
      message: "<h1>Please Disable your AdBlocker</h1>\r\n<p>This site is supported primarily through ad revenues. We respect our readers by carefully selecting advertising that is thoughtful, relevant and unintrusive. And in turn we ask that our readers respect our need for support by disabling their adblockers.</p>\r\n<i>If you wish to read this page, disable your adblocker and refresh</i>"
      mask_style: 'width: 100%; height: 100%; position: fixed; z-index: 100000; top: 0; left: 0; opacity: 0; background: radial-gradient(rgba(231,231,231,0.9),rgba(120,120,120,0.9)); transition: opacity ease 0.3s; overflow: scroll;'
      mask_style_active: 'opacity: 1;'
      message_style: 'font-size: 24px; max-width: 750px; margin: 300px auto;'

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc