Add Tech in Asia
This commit is contained in:
parent
0147dfd9c7
commit
d027468028
@ -367,7 +367,7 @@ _gaq.push(['_trackPageview']);
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = 'https://ssl.google-analytics.com/ga.js';
|
||||
//var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
|
||||
function isSiteEnabled(details) {
|
||||
|
@ -299,6 +299,15 @@ if (window.location.href.indexOf("hbr.org") !== -1) {
|
||||
removeDOMElement(popup);
|
||||
}
|
||||
|
||||
if (window.location.href.indexOf("techinasia.com") !== -1) {
|
||||
const paywall = document.querySelector('.paywall-content');
|
||||
if (paywall){
|
||||
paywall.classList.remove('paywall-content');
|
||||
}
|
||||
const paywall_hard = document.querySelector('.paywall-hard');
|
||||
removeDOMElement(paywall_hard);
|
||||
}
|
||||
|
||||
// General Functions
|
||||
function removeDOMElement(...elements) {
|
||||
for (let element of elements) {
|
||||
|
@ -63,6 +63,7 @@
|
||||
"SOFREP": "sofrep.com",
|
||||
"Statista": "statista.com",
|
||||
"SunSentinel": "sun-sentinel.com",
|
||||
"Tech in Asia": "techinasia.com",
|
||||
"Telegraaf": "telegraaf.nl",
|
||||
"The Advocate": "theadvocate.com.au",
|
||||
"The Age": "theage.com.au",
|
||||
|
Loading…
x
Reference in New Issue
Block a user