Permalink
Browse files

ads

  • Loading branch information...
1 parent 0a163a0 commit 9ba68ca249668807a189db100932e32869f482c4 @wakaba wakaba committed Oct 16, 2016
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/suikawiki/main.pl
View
@@ -272,13 +272,13 @@ ($$)
my $ad2_el = $html_doc->create_element ('aside');
$ad2_el->set_attribute (class => 'swe-ad swe-ad-google');
$ad2_el->inner_html (q{
+ <ins class="adsbygoogle"
+ style="display:inline-block;width:300px;height:250px"
+ data-ad-client="ca-pub-6943204637055835"
+ data-ad-slot="1478788718"></ins>
<script>
- google_ad_client = "ca-pub-6943204637055835";
- google_ad_slot = "1478788718";
- google_ad_width = 300;
- google_ad_height = 250;
+ (adsbygoogle = window.adsbygoogle || []).push({});
</script>
- <script src="https://pagead2.googlesyndication.com/pagead/show_ads.js" async></script>
});
$body_el->insert_before ($ad2_el, $search_el);
} else {

0 comments on commit 9ba68ca

Please sign in to comment.