「Apple が広告をブロック」したというが

img_2937

すべてのネット広告業者に神の裁きを、Apple様の広告ブロックです : 市況かぶ全力2階建

【検証】やっぱりアドブロックでGA無効化は本当だった件

これだけユーザの多いiOSに「広告ブロック機能をつけた」ということですが,

調査母数は少ないが、少なくともGoogle/GDNのadsenseが主な対象であることは、間違いなさそうである。

しかし、「アプリをダウンロードして、設定をしなければならない」ハードルがあり、疑問点として、「有料アプリを購入してまで、広告を非表示にするのか?」がある。

【検証】iOS9の広告ブロック機能は、運用系広告の脅威となるのか? - でぶててのWEB録

幸いにも「iOS 9」の広告をブロックする機能はデフォルトでSafariに実装されるということではなく、iOSデベロッパーが広告ブロック機能を実装できる機能を用意した、ということ。

パソコンの拡張機能と同様に、ユーザーはそのような機能を持つアプリをApp Storeからダウンロードし、広告をブロックできるという意味だ。

ウェブメディアに大打撃?!「iOS 9」、Safariで広告をブロックする機能を実装か?! | gori.me(ゴリミー)

正確にはiOS 9のSafariで「特定のコンテンツをブロックする拡張機能を開発できるようになった」ということのようでした。

iOS 9に「広告ブロック機能」ではなく「Safariの拡張機能としてコンテンツブロック機能を開発できるようになった」が正解 | 男子ハック

Safari 9.0 - Whats New Safari

ネットユーザー
  + iOS
    + ブラウザ
      + Safari ***
      + Chrome
    + アプリ
      + 専用ビューア
      + RSSビューア
  + Android
    + ブラウザ
      + Chrome
    + アプリ
      + 専用ビューア
      + RSSビューア
  + Windows
    ...

結局
「(有料)ブロックアプリで iOS の Safari 上で広告をブロックできる」
ということのみになる.

当然「広告ブロックをブロックする」コンテンツ配信者も登場してくる.

<p id="ads">
<script type="text/javascript"><!--
google_ad_client = "their-ad-code-here";
/* 160x600, droite */
google_ad_slot = "their-ad-code-here";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</p>

<script type="text/javascript"><!--
if(document.getElementsByTagName("iframe").item(0) == null)
{
    document.write("<div style='width:160px; height:600px; padding-top: 280px; margin-left:5px;border:1px solid #000000; text-align:center; font-family:century gothic, arial, helvetica, sans serif;padding-left:5px;padding-right:5px;'>Advertising seems to be blocked by your browser.<br /><br /><span style='font-size:10px'>Please notice that advertising helps us to host the project.<br /><br />If you find these ads intrusive or inappropriate, please contact me.</span><img src='http://www.playonlinux.com/images/abp.jpg' alt='Adblock Plus' /></div>");
}
--></script>

adsense - How to detect Adblock on my website? - Stack Overflow

This code is quite handy if you do not want to wrap your existing Adsense code with a CSS ID or class. it utilizes the fact that Google’s ad code creates an iframe with the id “iframe”. So as long as you don’t already have something on your page with that ID, this’d work for you too.

<script type="text/javascript"><!--
if(document.getElementsByTagName("iframe").item(0) == null)
{
    document.write("TEXT TO DISPLAY IF ADBLOCK IS ACTIVE");
}
--></script>

Ultimate Guide To Detecting AdBlock

WordPress であれば,

WordPress › Ad Blocking Detector « WordPress Plugins

OS上での制御となるので, iPhoneネイティブアプリ開発者向けにも
公開できるように思うが, まずは「限定Safariのみ」の様子見なのか.

当分は, 広告ブロックアプリ開発者だけの一人勝ち?

知らんけど.

コピペでブロックする 「iOS9 広告ブロック」

話題のコンテンツブロッカー「たった7つの正規表現」なのか?


各機種の画面サイズ(dp/px) が分かる「Device Metrics」by Google

Android だけではありません.

iPhone やタブレットやMacなどすべてが

分かりやすくまとめられています.

Device Metrics - Google Design

Device_Metrics_-_Google_Design

Device_Metrics_-_Google_Design 2

Device_Metrics_-_Google_Design 4

Device_Metrics_-_Google_Design 3

いままでなんでなかったのか.

とりあえず, デザインや開発に便利に使えますね.


JSON の処理速度を4倍以上にアップできる「LoganSquare」

The fastest JSON parsing and serializing library available for Android. Based on Jackson's streaming API, LoganSquare is able to consistently outperform GSON and Jackson's Databind library by 400% or more1. By relying on compile-time annotation processing to generate code, you know that your JSON will parse and serialize faster than any other method available.

benchmarks

For the curious, the buildscript and apply plugin lines add the apt plugin, which is what allows us to do compile-time annotation processing. The first dependency is what tells Gradle to process your JSON annotations, and the second dependency is our tiny 19kb runtime library that interfaces with the generated code for you.

hvisser / android-apt — Bitbucket

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
    }
}
apply plugin: 'com.neenbedankt.android-apt'

dependencies {
    apt 'com.bluelinelabs:logansquare-compiler:1.1.0'
    compile 'com.bluelinelabs:logansquare:1.1.0'
}

bluelinelabs/LoganSquare