admin:online-platform-cms:3rd-party-scripts:content-hidder-script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
admin:online-platform-cms:3rd-party-scripts:content-hidder-script [2022/11/07 08:20] ignas-bogusisadmin:online-platform-cms:3rd-party-scripts:content-hidder-script [2022/11/21 10:41] ringaudas-vainius
Line 27: Line 27:
     - roulette     - roulette
     - greyhounds     - greyhounds
 +    - pragmatic
 +    - agtslots
 +    - roulette-live
 +    - dogs
 +    - betgames-rng-wheel
     - undefined (hides every expandable header menu)     - undefined (hides every expandable header menu)
 +
  
 === HIDDER SCRIPT === === HIDDER SCRIPT ===
Line 47: Line 53:
   'betgames-iframe',   'betgames-iframe',
   'greyhounds',   'greyhounds',
-  'undefined'+  'undefined'
 +  'pragmatic', 
 +  'agtslots', 
 +  'roulette-live', 
 +  'dogs', 
 +  'evolution', 
 +  'betgames-rng-wheel' 
 +  
 ] ]
  
Line 73: Line 86:
     })     })
   })   })
 +}
 +
 +function addMeta() {
 +  const meta = document.createElement("meta");
 +  meta.name = "robots";
 +  meta.content = "noindex";
 +  document.head.appendChild(meta);
 } }
  
Line 80: Line 100:
   if (parsedSubDomain !== SUB_DOMAIN) return;   if (parsedSubDomain !== SUB_DOMAIN) return;
  
-  console.log('Hidder enabled');+  addMeta();
   hidePageContent();   hidePageContent();
   window.addEventListener('resize', hidePageContent);   window.addEventListener('resize', hidePageContent);
  • admin/online-platform-cms/3rd-party-scripts/content-hidder-script.txt
  • Last modified: 2023/04/12 12:14
  • by ignas-bogusis