mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-07 13:52:12 +00:00
edited sizes for post bottom and fixed dfp googletag reload
This commit is contained in:
parent
b9945a6e4b
commit
9e9d056d75
@ -39,7 +39,7 @@ PageTracker.current().on('change', function(url) {
|
|||||||
if(preGoogleVars === null) {
|
if(preGoogleVars === null) {
|
||||||
preGoogleVars = [];
|
preGoogleVars = [];
|
||||||
for(var key in window) {
|
for(var key in window) {
|
||||||
if(key.indexOf("google") !== -1) {
|
if(key.indexOf("google") !== -1 && key.indexOf("googletag") == -1) {
|
||||||
preGoogleVars.push(key);
|
preGoogleVars.push(key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@ PageTracker.current().on('change', function(url) {
|
|||||||
postGoogleVars = [];
|
postGoogleVars = [];
|
||||||
|
|
||||||
for(var key in window) {
|
for(var key in window) {
|
||||||
if(key.indexOf("google") !== -1 && preGoogleVars.indexOf(key) == -1) {
|
if(key.indexOf("google") !== -1 && preGoogleVars.indexOf(key) == -1 && key.indexOf("googletag") == -1) {
|
||||||
postGoogleVars.push(key);
|
postGoogleVars.push(key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,10 +98,6 @@ adsense_plugin:
|
|||||||
- 970*90 - large leaderboard
|
- 970*90 - large leaderboard
|
||||||
- 468*60 - banner
|
- 468*60 - banner
|
||||||
- 234*60 - half banner
|
- 234*60 - half banner
|
||||||
- 125*125 - button
|
|
||||||
- 180*150 - small rectangle
|
|
||||||
- 200*200 - small square
|
|
||||||
- 250*250 - square
|
|
||||||
adsense_nth_post_code:
|
adsense_nth_post_code:
|
||||||
client: true
|
client: true
|
||||||
default: ''
|
default: ''
|
||||||
@ -230,10 +226,6 @@ ad_plugin:
|
|||||||
- 970*90 - large leaderboard
|
- 970*90 - large leaderboard
|
||||||
- 468*60 - banner
|
- 468*60 - banner
|
||||||
- 234*60 - half banner
|
- 234*60 - half banner
|
||||||
- 125*125 - button
|
|
||||||
- 180*150 - small rectangle
|
|
||||||
- 200*200 - small square
|
|
||||||
- 250*250 - square
|
|
||||||
dfp_show_post_bottom:
|
dfp_show_post_bottom:
|
||||||
client: true
|
client: true
|
||||||
default: false
|
default: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user