37

I am building a simple HTML page with some images, my FireFox has Adblock Plus—recently installed— and it blocks these images. I look at other similar pages on the net and they are not blocking images so why is it blocking mine?

I do not want visitors to my page to not see images if they happen to have Adblock installed in FireFox.

Some advice to allow images to show whilst ab block is on would be great. I don’t want to write exceptions or anything for my own viewing I want to set my page so that Adblock doesn’t block the images.

4

4 に答える 4

7

非常によく似た問題がありました.eコマースサイトに表示するバナーがいくつかあり、それらをbanners/sizeというフォルダーに配置しました。ページがレンダリングされた後、バナーは Chrome で消えます。JavaScript のどこかで何かがおかしくなっていると思い、Firefox で試してみたところ、すべてうまくいきました。唯一の違いは、Firefox で AdBlock が有効になっていないことです!

画像ステートメントを調べたところ、バナー フォルダー内のすべての画像に次のように追加されていました。

style="display: none !important; visibility: hidden !important; opacity: 0 !important; background-position: 1px 1px; width="0" height="0"

バナーフォルダーの名前を img_bnr に変更し、並べ替えました!

于 2013-12-01T17:46:37.740 に答える
0

こちらも同じ - 名前に「adtech」(広告技術の略語)が含まれる画像がありました。ファイル名が原因でアドブロッカーがブロックしていることを理解するのに何年もかかりました。Adtech は AOL の広告配信プラットフォームです。コンテンツの画像がブロックされている理由を突き止めようとして、何年にもわたって尻尾を追いかける苛立たしい、注意すべきわかりやすいキーワード。

于 2015-01-19T17:36:33.170 に答える