YouTube広告のイライラ、8月から減るかも。Chromeが3種の動画内迷惑広告ブロックへ
3種類中の2種は現在のYouTubeでおなじみの手法
山本竜也(Tatsuya Yamamoto)
13時間前 in internet
2020/02/06
ユーザー体験を損ねる迷惑な広告など、ウェブ広告に関するガイドラインを提供するBetter Ads Standardsに、新しく動画中の広告に関する基準が追加されました。
これに基づき、GoogleはChromeブラウザでの迷惑広告の対象にこの動画中の広告も含めると発表。2020年8月から適用するとしています。
(リンク先に続きあり)
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
}
こんなゴミブラウザ捨ててせいせいした
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
}
めっちゃ快適
アンケート←迷惑
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ){
document.write(”);
} else {
document.write(”);
}
}
<a href="http://jump.5ch.net/?Via Youtube” target=”_blank”>extVideoConfig = {“height”:”240″,”url”:”https://www.youtube.com/watch?v=57jPUoB7SJI”,”width”:”320″};https://blog.seesaa.jp/contents/js/external_video.js
ブロックするのが面倒な人かな
ほんとそれ
アドブロックアプリ使ってYouTubeで広告なんて見たことないわ
それ教えたらダメだよ
チューバーは広告で食ってんだからね
それって大事でしょ
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ){
document.write(”);
} else {
document.write(”);
}
}
全然
最後まで見る人いるのかしら
var xhr = new XMLHttpRequest();
var bmlist_url = ‘//blog.seesaa.jp/contents/bmlist.txt’
xhr.open(“GET”, ‘https:’ + bmlist_url, false);
xhr.send();
var blacklist = xhr.responseText;
var url = location.host + (location.pathname == ‘/’ ? ‘/index.html’ : location.pathname);
if (blacklist.match(url)) {
console.log(“MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if ( navigator.userAgent.indexOf(‘Android’) > 0 ) {
document.write(”);
} else {
document.write(”);
}
} else {
console.log(“NOT MATCH”);
if (navigator.userAgent.indexOf(‘iPhone’) > 0) {
document.write(”);
} else if( navigator.userAgent.indexOf(‘Android’) > 0 ){
document.write(”);
} else {
document.write(”);
}
}
Source: mindhack
【YouTube】広告のイライラ、8月から減るかも。Chromeが3種の動画内迷惑広告ブロックへ