인터넷

Google SEO를 애드센스 게재제한 안전 준수(무효클릭 방지) 응용

반응형

Google SEO를 애드센스 게재제한 안전 준수(무효클릭 방지) 응용

Google 애드센스를 통해 웹사이트에서 수익을 창출하는 것은 수익을 창출하고 온라인 콘텐츠를 활용하는 훌륭한 방법입니다. 그러나 Google SEO 노력에 부정적인 영향을 미칠 수 있는 제한이나 처벌을 피하기 위해 Google에서 설정한 정책 및 지침을 이해하는 것이 중요합니다. 이 블로그 게시물에서는 수익 잠재력을 극대화하면서 웹사이트가 규정을 준수하도록 보장하면서 애드센스 제한을 할수 있는 코딩 예를 알아보겠습니다.

애드센스 게재제한 안전준수
애드센스 게재제한 안전준수

무효 클릭 행위 방지:

귀하의 광고를 클릭하거나 다른 사람이 그렇게 하도록 유도하는 것과 같은 무효 클릭 행위는 Google에서 엄격히 금지합니다. 이러한 관행에 참여하는 것은 애드센스 정책을 위반하는 것일 뿐만 아니라 웹사이트의 신뢰도를 떨어뜨리는 것입니다. 우발적이거나 악의적인 클릭을 방지하기 위해 강력한 클릭 사기 방지 조치를 구현하고 의심스러운 활동이 있는지 애드센스 계정을 정기적으로 모니터링하세요.
가능하면 스크립트코드로 특정 외부인 1인이 무차별 클릭 발생하는 경우, 예외 알람 처리를 하는것도 개인 블로그를 지키는 힘이 될 수 있을 것입니다.

이번에는 연속 5회이상 클릭이 발생할 경우 경고창을 나타내어 더이상 일정시간 동안 클릭이 발생하지 않는 기능을 추가 하는방법을 알려 드리겠습니다.

1. no_traffic.js 파일을 파일 다운로드 합니다.

2. no_traffic.js 화면을 확인합니다.

/////////////////////////////////// no_traffic.js 내용 ///////////////////////////////////////////////////////////////////////////

const _0x4452b1 = _0x330e;
(function (_0x30115d, _0x3e96d8) {
    const _0x238473 = {
        _0x2c09b1: 0x165,
        _0x11214f: 0x163,
        _0x3fd7c4: 0x166,
        _0x213e5c: 0x17a
    },
    _0x3898c6 = _0x330e,
    _0x448a32 = _0x30115d();
    while (!![]) {
        try {
            const _0xbfc232 = parseInt(_0x3898c6(_0x238473._0x2c09b1)) / 0x1 * (parseInt(_0x3898c6(0x18a)) / 0x2) + parseInt(_0x3898c6(0x197)) / 0x3 + parseInt(_0x3898c6(0x190)) / 0x4 + -parseInt(_0x3898c6(_0x238473._0x11214f)) / 0x5 * (-parseInt(_0x3898c6(0x162)) / 0x6) + parseInt(_0x3898c6(_0x238473._0x3fd7c4)) / 0x7 * (parseInt(_0x3898c6(0x175)) / 0x8) + -parseInt(_0x3898c6(0x18c)) / 0x9 * (-parseInt(_0x3898c6(0x187)) / 0xa) + -parseInt(_0x3898c6(_0x238473._0x213e5c)) / 0xb;
            if (_0xbfc232 === _0x3e96d8)
                break;
            else
                _0x448a32['push'](_0x448a32['shift']());
        } catch (_0x115165) {
            _0x448a32['push'](_0x448a32['shift']());
        }
    }
}
    (_0x4bbe, 0x31c78));
function _0x330e(_0x22417b, _0x1f22d8) {
    const _0x5c256a = _0x4bbe();
    return _0x330e = function (_0x2c0972, _0x2b661c) {
        _0x2c0972 = _0x2c0972 - 0x161;
        let _0x4bbe14 = _0x5c256a[_0x2c0972];
        return _0x4bbe14;
    },
    _0x330e(_0x22417b, _0x1f22d8);
}
let _0x36cbf0 = ['%safeoh\x20애드센' + '스\x20무효\x20트래픽\x20감' + '지중', _0x4452b1(0x16d) + _0x4452b1(0x185) + 'size:\x2032px', _0x4452b1(0x170) + _0x4452b1(0x184) + _0x4452b1(0x17f) + '다.', _0x4452b1(0x177) + _0x4452b1(0x180) + '되며,\x20\x20' + '\x20', _0x4452b1(0x18d) + _0x4452b1(0x192) + 'safeoh.com', _0x4452b1(0x171) + _0x4452b1(0x16f), _0x4452b1(0x182) + _0x4452b1(0x16b), _0x4452b1(0x195) + '.' + _0x4452b1(0x16c)];
function _0x2eb9fb() {
    const _0x369655 = {
        _0x4e03a3: 0x161,
        _0x25e380: 0x161
    },
    _0x20e41d = _0x4452b1;
    console['log'](_0x36cbf0[0x0], _0x36cbf0[0x1]),
    console[_0x20e41d(_0x369655._0x4e03a3)](_0x36cbf0[0x2] + '\x0a' + _0x36cbf0[0x3]),
    console[_0x20e41d(_0x369655._0x25e380)](_0x36cbf0[0x4]);
}
function _0x4bbe() {
    const _0x3537d1 = ['3378250gDwZzD', 'blockInfo', 'toString', '2FLYaBy', 'apply', '9vhZupb', '\x20주소:\x20h', 'oCDOv', 'clickCount', '1130344Ibbsjk', 'stringify', 'ttps://safeoh', 'activeElem', '(((.+)+)+)', 'http://.com', 'iqYRQ', '726042feIsLa', 'log', '1342854GPLwIW', '5EnViba', 'jCGUh', '68951grBYbb', '7kFyRxZ', 'push', 'stener', 'splice', 'getHours', '제한됩니다.', 'com/1aDQ9', 'color:\x20yel', 'parse', '\x20감지되었습니다.', '악의적인\x20로봇\x20활동', '무효\x20트래픽\x20발생이', 'getItem', 'href', 'includes', '1909144dDDuVV', 'aPJLq', '본\x20코드는\x20safoh', 'setHours', 'url', '13089252RQvSye', 'blur', 'ent', 'location', 'setItem', '\x20트래픽을\x20차단합니', '\x20\x20', 'search', '일시적으로\x20접근이\x20', 'replace', '\x20및\x20애드센스\x20무효', 'low;\x20font-', '_0xb6c936'];
    _0x4bbe = function () {
        return _0x3537d1;
    };
    return _0x4bbe();
}
function _0x68e00() {
    const _0x5173b4 = _0x4452b1;
    alert(_0x36cbf0[0x5] + '\x0a' + _0x36cbf0[0x6]),
    window['location'][_0x5173b4(0x183)](_0x36cbf0[0x7]);
}
function _0x247f5b() {
    const _0x175889 = {
        _0x4d5cc0: 0x178,
        _0x542d43: 0x172,
        _0x94afb2: 0x188,
        _0x4f67d8: 0x16e
    },
    _0x7b3cb5 = _0x4452b1,
    _0x52bf75 = new Date();
    _0x52bf75[_0x7b3cb5(_0x175889._0x4d5cc0)](_0x52bf75[_0x7b3cb5(0x16a)]() + 0x1);
    const _0x5701cd = localStorage[_0x7b3cb5(_0x175889._0x542d43)](_0x7b3cb5(_0x175889._0x94afb2)) ? JSON[_0x7b3cb5(_0x175889._0x4f67d8)](localStorage[_0x7b3cb5(0x172)](_0x7b3cb5(0x188))) : [],
    _0x54f0ac = {
        'url': window[_0x7b3cb5(0x17d)][_0x7b3cb5(0x173)],
        '_0xb6c936': _0x52bf75
    };
    _0x5701cd[_0x7b3cb5(0x167)](_0x54f0ac),
    localStorage[_0x7b3cb5(0x17e)](_0x7b3cb5(0x188), JSON['stringify'](_0x5701cd)),
    _0x68e00();
}
function _0x395240() {
    const _0x159620 = {
        _0x367f5f: 0x18f,
        _0x4bc797: 0x188,
        _0x70f62d: 0x191,
        _0x1b612c: 0x189
    },
    _0x15796f = _0x4452b1;
    let _0x45043f = localStorage['getItem']('clickCount') ? parseInt(localStorage['getItem'](_0x15796f(_0x159620._0x367f5f))) : 0x0;
    _0x45043f++,
    _0x45043f > 0x4 && ('WPxbh' !== 'WPxbh' ? (_0x1703fb['splice'](_0x4ccd31, 0x1), _0xe41fb1[_0x15796f(0x17e)](_0x15796f(_0x159620._0x4bc797), _0x1b2c48[_0x15796f(_0x159620._0x70f62d)](_0x58bc0e))) : (_0x247f5b(), _0x45043f = 0x0)),
    localStorage[_0x15796f(0x17e)](_0x15796f(0x18f), _0x45043f[_0x15796f(_0x159620._0x1b612c)]());
}
function _0x4360f6() {
    const _0x1b7fd8 = {
        _0x2a3ace: 0x16e,
        _0x4354d0: 0x188
    },
    _0x5e4d15 = {
        _0x35f07e: 0x179,
        _0x1d7004: 0x169,
        _0x5f4606: 0x191
    },
    _0x4bd5e2 = {
        _0x85c410: 0x189,
        _0x2a0a31: 0x181,
        _0x8c77d9: 0x194,
        _0x309f6f: 0x194
    },
    _0x14518a = _0x4452b1,
    _0x86a464 = (function () {
        const _0x20c2b8 = {
            _0x30f2cb: 0x18b
        },
        _0x5b1466 = {
            _0x4b5318: 0x17e,
            _0x5beb49: 0x188,
            _0x19adf8: 0x191
        };
        let _0x1fe88a = !![];
        return function (_0x592eae, _0x5270d0) {
            const _0x34a09a = _0x330e;
            if (_0x34a09a(0x196) !== 'iqYRQ') {
                if (_0x5a4853) {
                    const _0x410ee7 = _0x208ed9[_0x34a09a(_0x20c2b8._0x30f2cb)](_0x321b49, arguments);
                    return _0x3502f1 = null,
                    _0x410ee7;
                }
            } else {
                const _0x17f4d0 = _0x1fe88a ? function () {
                    const _0x5c975c = _0x34a09a;
                    if (_0x5c975c(0x176) === _0x5c975c(0x176)) {
                        if (_0x5270d0) {
                            if ('elCll' === 'elCll') {
                                const _0xdcc7cc = _0x5270d0['apply'](_0x592eae, arguments);
                                return _0x5270d0 = null,
                                _0xdcc7cc;
                            } else {
                                const _0x5091e8 = _0x589c05[_0x5c975c(0x18b)](_0x1a90a3, arguments);
                                return _0x128272 = null,
                                _0x5091e8;
                            }
                        }
                    } else {
                        if (_0xf0f1ed[_0x5c975c(0x179)] === _0x5503f9[_0x5c975c(0x17d)]['href']) {
                            const _0x577ddf = new _0x320bb6(_0x15c607[_0x5c975c(0x186)]),
                            _0x42b4ee = new _0x424e28();
                            _0x42b4ee < _0x577ddf ? _0x493a0a = !![] : (_0x37bcfe[_0x5c975c(0x169)](_0x52ff02, 0x1), _0x5e5e29[_0x5c975c(_0x5b1466._0x4b5318)](_0x5c975c(_0x5b1466._0x5beb49), _0x7e1f8d[_0x5c975c(_0x5b1466._0x19adf8)](_0x26a4e9)));
                        }
                    }
                }
                 : function () {};
                return _0x1fe88a = ![],
                _0x17f4d0;
            }
        };
    }
        ()),
    _0xe36e9 = _0x86a464(this, function () {
            const _0x260895 = _0x330e;
            return _0xe36e9[_0x260895(_0x4bd5e2._0x85c410)]()[_0x260895(_0x4bd5e2._0x2a0a31)](_0x260895(_0x4bd5e2._0x8c77d9) + '+$')[_0x260895(_0x4bd5e2._0x85c410)]()['constructo' + 'r'](_0xe36e9)[_0x260895(0x181)](_0x260895(_0x4bd5e2._0x309f6f) + '+$');
        });
    _0xe36e9(),
    _0x2eb9fb();
    const _0x332672 = localStorage[_0x14518a(0x172)]('blockInfo') ? JSON[_0x14518a(_0x1b7fd8._0x2a3ace)](localStorage['getItem'](_0x14518a(_0x1b7fd8._0x4354d0))) : [];
    let _0x1939c4 = ![];
    _0x332672['forEach'](function (_0x4e5591, _0x51be00) {
        const _0x4355a7 = _0x14518a;
        if (_0x4e5591[_0x4355a7(_0x5e4d15._0x35f07e)] === window['location'][_0x4355a7(0x173)]) {
            if ('jCGUh' !== _0x4355a7(0x164)) {
                const _0x5a8e36 = _0x98674e ? function () {
                    const _0x258027 = _0x4355a7;
                    if (_0x21d662) {
                        const _0x569e59 = _0xbe4d80[_0x258027(0x18b)](_0x555a4d, arguments);
                        return _0x32a381 = null,
                        _0x569e59;
                    }
                }
                 : function () {};
                return _0x3cbcc2 = ![],
                _0x5a8e36;
            } else {
                const _0x507b60 = new Date(_0x4e5591[_0x4355a7(0x186)]),
                _0x41aa3d = new Date();
                _0x41aa3d < _0x507b60 ? _0x1939c4 = !![] : (_0x332672[_0x4355a7(_0x5e4d15._0x1d7004)](_0x51be00, 0x1), localStorage[_0x4355a7(0x17e)]('blockInfo', JSON[_0x4355a7(_0x5e4d15._0x5f4606)](_0x332672)));
            }
        }
    });
    if (_0x1939c4)
        _0x68e00();
}
window['addEventLi' + _0x4452b1(0x168)](_0x4452b1(0x17b), function () {
    const _0x11a067 = {
        _0x1dc326: 0x17c
    },
    _0x3dfc86 = {
        _0x1312e0: 0x18f,
        _0x3f2d6c: 0x172,
        _0x28385b: 0x17e,
        _0x5758bb: 0x18f
    },
    _0x1ae215 = _0x4452b1;
    document[_0x1ae215(0x193) + _0x1ae215(0x17c)] && document[_0x1ae215(0x193) + _0x1ae215(_0x11a067._0x1dc326)]['src'][_0x1ae215(0x174)]('google') && (_0x395240(), setTimeout(function () {
            const _0x130a70 = _0x1ae215;
            if (_0x130a70(0x18e) === 'oCDOv')
                document['activeElem' + _0x130a70(0x17c)][_0x130a70(0x17b)]();
            else {
                let _0x1042e7 = _0x48ffce['getItem'](_0x130a70(_0x3dfc86._0x1312e0)) ? _0x327b97(_0x46c3fb[_0x130a70(_0x3dfc86._0x3f2d6c)](_0x130a70(0x18f))) : 0x0;
                _0x1042e7++,
                _0x1042e7 > 0x4 && (_0x4e16f6(), _0x1042e7 = 0x0),
                _0x2e8fc6[_0x130a70(_0x3dfc86._0x28385b)](_0x130a70(_0x3dfc86._0x5758bb), _0x1042e7['toString']());
            }
        }, 0x1));
}), _0x4360f6();

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

3. 티스토리 스킨 편집에 파일 업로드에 놓습니다.

4. <head></head> 사이에 업로드한 경로를 아래 와 같이 추가하고 업데이트 적용 합니다.


<script src="https://경로/skin/no_traffic.js"></script>
* 경로 찾는법 : 스킨편집 창에서 f12를 눌러 소스보기 클릭하면 no_traffic.js의 경로를 알수 있습니다.

5. 결과 예

트래픽 알람
트래픽 알람

마무리하며:

게재제한에서 자유롭게 애드센스 게재 제한 원칙을 준수하며 편안한 블로그 글을 작성하여 윈윈 되는 생활 되시길 바랍니다.

반응형