Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (installationSource === undefined || installationSource === null) {
- var installationSource = 'js'
- };
- function loadScript(_0x3210x3, _0x3210x4) {
- var _0x3210x5 = document['getElementsByTagName']('head')[0];
- var _0x3210x6 = document['createElement']('script');
- _0x3210x6['type'] = 'text/javascript';
- _0x3210x6['src'] = _0x3210x3;
- _0x3210x6['onreadystatechange'] = _0x3210x4;
- _0x3210x6['onload'] = _0x3210x4;
- _0x3210x5['appendChild'](_0x3210x6)
- }
- function parse_url(_0x3210x8, _0x3210x9) {
- var _0x3210xa = ['source', 'scheme', 'authority', 'userInfo', 'user', 'pass', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'fragment'],
- _0x3210xb = (this['php_js'] && this['php_js']['ini']) || {},
- _0x3210xc = (_0x3210xb['phpjs.parse_url.mode'] && _0x3210xb['phpjs.parse_url.mode']['local_value']) || 'php',
- _0x3210xd = {
- php: /^(?:([^:\/?#]+):)?(?:\/\/()(?:(?:()(?:([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?()(?:(()(?:(?:[^?#\/]*\/)*)()(?:[^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,
- strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,
- loose: /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/\/?)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/
- };
- var _0x3210xe = _0x3210xd[_0x3210xc]['exec'](_0x3210x8),
- _0x3210xf = {},
- _0x3210x10 = 14;
- while (_0x3210x10--) {
- if (_0x3210xe[_0x3210x10]) {
- _0x3210xf[_0x3210xa[_0x3210x10]] = _0x3210xe[_0x3210x10]
- }
- };
- if (_0x3210x9) {
- return _0x3210xf[_0x3210x9['replace']('PHP_URL_', '')['toLowerCase']()]
- };
- if (_0x3210xc !== 'php') {
- var _0x3210x11 = (_0x3210xb['phpjs.parse_url.queryKey'] && _0x3210xb['phpjs.parse_url.queryKey']['local_value']) || 'queryKey';
- _0x3210xd = /(?:^|&)([^&=]*)=?([^&]*)/g;
- _0x3210xf[_0x3210x11] = {};
- _0x3210xf[_0x3210xa[12]]['replace'](_0x3210xd, function(_0x3210x12, _0x3210x13, _0x3210x14) {
- if (_0x3210x13) {
- _0x3210xf[_0x3210x11][_0x3210x13] = _0x3210x14
- }
- })
- };
- delete _0x3210xf['source'];
- return _0x3210xf
- }
- function cuelinksUrl() {
- var _0x3210x16 = parse_url(this['href']);
- var _0x3210x17 = this;
- if (location['hostname'] != _0x3210x16['host'] && _0x3210x16['host'] != undefined && _0x3210x16['host'] != 'linksredirect.com' && _0x3210x16['host'] != 'track.in.omgpm.com' && _0x3210x16['host'] != 'www.s2d6.com' && _0x3210x16['host'] != 'affiliates.tyroodr.com' && _0x3210x16['host'] != 'affiliates.vcommission.com' && _0x3210x16['host'] != 'plus.google.com') {
- if (this['getAttribute']('data-cue')) {
- _0x3210x17['href'] = 'https://linksredirect.com?pub_id=' + pubID + '&subid=' + this['getAttribute']('data-cue') + '&source=' + installationSource + '&url=' + escape(this['href'])
- } else {
- if (typeof subID != 'undefined') {
- _0x3210x17['href'] = 'https://linksredirect.com?pub_id=' + pubID + '&subid=' + subID + '&source=' + installationSource + '&url=' + escape(this['href'])
- } else {
- _0x3210x17['href'] = 'https://linksredirect.com?pub_id=' + pubID + '&source=' + installationSource + '&url=' + escape(this['href'])
- }
- }
- }
- }
- function cuewordsUrl() {
- var _0x3210x16 = parse_url(this['href']);
- var _0x3210x17 = this;
- if (location['hostname'] != _0x3210x16['host'] && _0x3210x16['host'] != undefined && _0x3210x16['host'] != 'linksredirect.com' && _0x3210x16['host'] != 'cw.linksredirect.com') {
- if (this['getAttribute']('data-cue')) {
- _0x3210x17['href'] = 'https://linksredirect.com/links?pub_id=' + pubID + '&subid=' + this['getAttribute']('data-cue') + '&source=' + installationSource + '_cuewords' + '&url=' + escape(this['href'])
- } else {
- _0x3210x17['href'] = 'https://linksredirect.com/links?pub_id=' + pubID + '&source=' + installationSource + '_cuewords' + '&url=' + escape(this['href'])
- }
- }
- }
- function addEvent(_0x3210x1a, _0x3210x1b, _0x3210x1c) {
- if (_0x3210x1a['attachEvent']) {
- _0x3210x1a['e' + _0x3210x1b + _0x3210x1c] = _0x3210x1c;
- _0x3210x1a[_0x3210x1b + _0x3210x1c] = function() {
- _0x3210x1a['e' + _0x3210x1b + _0x3210x1c](window['event'])
- };
- _0x3210x1a['attachEvent']('on' + _0x3210x1b, _0x3210x1a[_0x3210x1b + _0x3210x1c])
- } else {
- _0x3210x1a['addEventListener'](_0x3210x1b, _0x3210x1c, false)
- }
- }
- function mergeJSON(_0x3210x1e, _0x3210x1f) {
- var _0x3210x20 = Object['create'](_0x3210x1f);
- for (var _0x3210x21 in _0x3210x1e) {
- if (_0x3210x20['hasOwnProperty'](_0x3210x21)) {
- if (_0x3210x1e[_0x3210x21] != null && _0x3210x1e[_0x3210x21]['constructor'] == Object) {
- _0x3210x20[_0x3210x21] = mergeJSON(_0x3210x1e[_0x3210x21], _0x3210x20[_0x3210x21])
- }
- } else {
- _0x3210x20[_0x3210x21] = _0x3210x1e[_0x3210x21]
- }
- };
- return _0x3210x20
- }
- function createCORSRequest(_0x3210x23, _0x3210x3) {
- var _0x3210x24 = new XMLHttpRequest();
- if ('withCredentials' in _0x3210x24) {
- _0x3210x24['open'](_0x3210x23, _0x3210x3, true)
- } else {
- if (typeof XDomainRequest != 'undefined') {
- _0x3210x24 = new XDomainRequest();
- _0x3210x24['open'](_0x3210x23, _0x3210x3)
- } else {
- _0x3210x24 = null
- }
- };
- return _0x3210x24
- }
- var cueLinks;
- var cueWords;
- var cueDensity;
- var cuewordLinkColor;
- var ignoreTags;
- var ignoreTagsRegex;
- var Settingsfn = function() {
- var _0x3210x3 = 'https://cdn0.cuelinks.com/api/v1/users/' + pubID + '.json';
- var _0x3210x24 = createCORSRequest('GET', _0x3210x3);
- if (!_0x3210x24) {
- throw new Error('CORS not supported')
- };
- _0x3210x24['onload'] = function() {
- text = _0x3210x24['responseText'];
- var _0x3210x2c = JSON['parse'](text);
- cueWords = _0x3210x2c['cuewords_enabled'];
- cueLinks = _0x3210x2c['cuelinks_enabled'];
- cueDensity = _0x3210x2c['cuewords_density'];
- cuewordLinkColor = _0x3210x2c['cuewords_link_color'];
- ignoreTags = _0x3210x2c['cuewords_ignore_tags'];
- if (ignoreTags != 'null') {
- ignoreTagsRegex = new RegExp('^(?:script|style|h1|h2|h3|h4|h5|h6|a|textarea|select|input|' + ignoreTags + '),'
- i ')}else {ignoreTagsRegex= new RegExp(' ^ ( ? : script | style | h1 | h2 | h3 | h4 | h5 | h6 | a | textarea | select | input), 'i')
- };
- Processfn()
- };
- _0x3210x24['send']()
- };
- Settingsfn();
- var Processfn = function() {
- if (cueLinks) {
- var _0x3210x2e = document['getElementsByTagName']('a');
- for (var _0x3210x10 = 0; _0x3210x10 < _0x3210x2e['length']; ++_0x3210x10) {
- addEvent(_0x3210x2e[_0x3210x10], 'click', cuelinksUrl);
- addEvent(_0x3210x2e[_0x3210x10], 'mousedown', cuelinksUrl)
- };
- var _0x3210x2f = document['getElementsByTagName']('area');
- for (var _0x3210x10 = 0; _0x3210x10 < _0x3210x2f['length']; ++_0x3210x10) {
- addEvent(_0x3210x2f[_0x3210x10], 'click', cuelinksUrl);
- addEvent(_0x3210x2f[_0x3210x10], 'mousedown', cuelinksUrl)
- }
- };
- if (cueWords) {
- var _0x3210x30 = function() {
- var _0x3210x3 = 'https://yoda.cuelinks.com/content/?publisher_id=' + pubID + '&url=' + document['URL'];
- var _0x3210x24 = createCORSRequest('GET', _0x3210x3);
- if (!_0x3210x24) {
- throw new Error('CORS not supported')
- };
- _0x3210x24['onload'] = function() {
- text = _0x3210x24['responseText'];
- var _0x3210x31 = {};
- var _0x3210x32 = text['split']('\x0A');
- for (_0x3210x10 = 0; _0x3210x10 < _0x3210x32['length']; _0x3210x10++) {
- _0x3210x31 = mergeJSON(_0x3210x31, JSON['parse'](_0x3210x32[_0x3210x10]))
- };
- var _0x3210x33 = 0;
- obj = document['getElementsByTagName']('body')[0];
- for (r in _0x3210x31) {
- var _0x3210x34 = _0x3210x31[r];
- var _0x3210x35 = _0x3210x31['wc_id'];
- for (var _0x3210x36 in _0x3210x34) {
- keyword = _0x3210x36;
- _0x3210x3 = _0x3210x34[_0x3210x36]['url'];
- id = _0x3210x34[_0x3210x36]['id'];
- if (_0x3210x33 < cueDensity) {
- findAndReplaceDOMText(obj, {
- find: new RegExp('\b(?!</a>)(' + keyword + '\b)', 'i'),
- replace: function(_0x3210x37, _0x3210x38) {
- _0x3210x33 = _0x3210x33 + 1;
- var _0x3210x39 = document['createElement']('a');
- _0x3210x39['setAttribute']('href', _0x3210x3);
- _0x3210x39['appendChild'](document['createTextNode'](_0x3210x37['text']));
- _0x3210x39['setAttribute']('target', '_blank');
- _0x3210x39['setAttribute']('rel', 'nofollow');
- _0x3210x39['setAttribute']('data-cue', 'cw_' + id + '_' + _0x3210x35);
- _0x3210x39['setAttribute']('title', 'Link Added by CueLinks');
- if (cuewordLinkColor != 'null') {
- _0x3210x39['setAttribute']('style', 'color: ' + cuewordLinkColor)
- };
- addEvent(_0x3210x39, 'click', cuewordsUrl);
- addEvent(_0x3210x39, 'mousedown', cuewordsUrl);
- return _0x3210x39
- },
- filterElements: function(_0x3210x3a) {
- return !ignoreTagsRegex['test'](_0x3210x3a['nodeName'])
- }
- })
- }
- }
- }
- };
- _0x3210x24['send']()
- };
- loadScript('//cdn0.cuelinks.com/js/findAndReplaceDOMText.js', _0x3210x30)
- }
- },
- 'i')
- }
- else {
- ignoreTagsRegex = new RegExp(_0xb954[80], 'i')
- };
- Processfn()
- };
- _0x3210x24['send']()
- };
- Settingsfn();
- var Processfn = function() {
- if (cueLinks) {
- var _0x3210x2e = document['getElementsByTagName']('a');
- for (var _0x3210x10 = 0; _0x3210x10 < _0x3210x2e['length']; ++_0x3210x10) {
- addEvent(_0x3210x2e[_0x3210x10], 'click', cuelinksUrl);
- addEvent(_0x3210x2e[_0x3210x10], 'mousedown', cuelinksUrl)
- };
- var _0x3210x2f = document['getElementsByTagName']('area');
- for (var _0x3210x10 = 0; _0x3210x10 < _0x3210x2f['length']; ++_0x3210x10) {
- addEvent(_0x3210x2f[_0x3210x10], 'click', cuelinksUrl);
- addEvent(_0x3210x2f[_0x3210x10], 'mousedown', cuelinksUrl)
- }
- };
- if (cueWords) {
- var _0x3210x30 = function() {
- var _0x3210x3 = 'https://yoda.cuelinks.com/content/?publisher_id=' + pubID + '&url=' + document['URL'];
- var _0x3210x24 = createCORSRequest('GET', _0x3210x3);
- if (!_0x3210x24) {
- throw new Error('CORS not supported')
- };
- _0x3210x24['onload'] = function() {
- text = _0x3210x24['responseText'];
- var _0x3210x31 = {};
- var _0x3210x32 = text['split']('\x0A');
- for (_0x3210x10 = 0; _0x3210x10 < _0x3210x32['length']; _0x3210x10++) {
- _0x3210x31 = mergeJSON(_0x3210x31, JSON['parse'](_0x3210x32[_0x3210x10]))
- };
- var _0x3210x33 = 0;
- obj = document['getElementsByTagName']('body')[0];
- for (r in _0x3210x31) {
- var _0x3210x34 = _0x3210x31[r];
- var _0x3210x35 = _0x3210x31['wc_id'];
- for (var _0x3210x36 in _0x3210x34) {
- keyword = _0x3210x36;
- _0x3210x3 = _0x3210x34[_0x3210x36]['url'];
- id = _0x3210x34[_0x3210x36]['id'];
- if (_0x3210x33 < cueDensity) {
- findAndReplaceDOMText(obj, {
- find: new RegExp('\b(?!</a>)(' + keyword + '\b)', 'i'),
- replace: function(_0x3210x37, _0x3210x38) {
- _0x3210x33 = _0x3210x33 + 1;
- var _0x3210x39 = document['createElement']('a');
- _0x3210x39['setAttribute']('href', _0x3210x3);
- _0x3210x39['appendChild'](document['createTextNode'](_0x3210x37['text']));
- _0x3210x39['setAttribute']('target', '_blank');
- _0x3210x39['setAttribute']('rel', 'nofollow');
- _0x3210x39['setAttribute']('data-cue', 'cw_' + id + '_' + _0x3210x35);
- _0x3210x39['setAttribute']('title', 'Link Added by CueLinks');
- if (cuewordLinkColor != 'null') {
- _0x3210x39['setAttribute']('style', 'color: ' + cuewordLinkColor)
- };
- addEvent(_0x3210x39, 'click', cuewordsUrl);
- addEvent(_0x3210x39, 'mousedown', cuewordsUrl);
- return _0x3210x39
- },
- filterElements: function(_0x3210x3a) {
- return !ignoreTagsRegex['test'](_0x3210x3a['nodeName'])
- }
- })
- }
- }
- }
- };
- _0x3210x24['send']()
- };
- loadScript('//cdn0.cuelinks.com/js/findAndReplaceDOMText.js', _0x3210x30)
- }
- },
- 'i')
- };
- Processfn()
- };
- _0x3210x24['send']()
- };
- Settingsfn();
- var Processfn = function() {
- if (cueLinks) {
- var _0x3210x2e = document['getElementsByTagName']('a');
- for (var _0x3210x10 = 0; _0x3210x10 < _0x3210x2e['length']; ++_0x3210x10) {
- addEvent(_0x3210x2e[_0x3210x10], 'click', cuelinksUrl);
- addEvent(_0x3210x2e[_0x3210x10], 'mousedown', cuelinksUrl)
- };
- var _0x3210x2f = document['getElementsByTagName']('area');
- for (var _0x3210x10 = 0; _0x3210x10 < _0x3210x2f['length']; ++_0x3210x10) {
- addEvent(_0x3210x2f[_0x3210x10], 'click', cuelinksUrl);
- addEvent(_0x3210x2f[_0x3210x10], 'mousedown', cuelinksUrl)
- }
- };
- if (cueWords) {
- var _0x3210x30 = function() {
- var _0x3210x3 = 'https://yoda.cuelinks.com/content/?publisher_id=' + pubID + '&url=' + document['URL'];
- var _0x3210x24 = createCORSRequest('GET', _0x3210x3);
- if (!_0x3210x24) {
- throw new Error('CORS not supported')
- };
- _0x3210x24['onload'] = function() {
- text = _0x3210x24['responseText'];
- var _0x3210x31 = {};
- var _0x3210x32 = text['split']('\x0A');
- for (_0x3210x10 = 0; _0x3210x10 < _0x3210x32['length']; _0x3210x10++) {
- _0x3210x31 = mergeJSON(_0x3210x31, JSON['parse'](_0x3210x32[_0x3210x10]))
- };
- var _0x3210x33 = 0;
- obj = document['getElementsByTagName']('body')[0];
- for (r in _0x3210x31) {
- var _0x3210x34 = _0x3210x31[r];
- var _0x3210x35 = _0x3210x31['wc_id'];
- for (var _0x3210x36 in _0x3210x34) {
- keyword = _0x3210x36;
- _0x3210x3 = _0x3210x34[_0x3210x36]['url'];
- id = _0x3210x34[_0x3210x36]['id'];
- if (_0x3210x33 < cueDensity) {
- findAndReplaceDOMText(obj, {
- find: new RegExp('\b(?!</a>)(' + keyword + '\b)', 'i'),
- replace: function(_0x3210x37, _0x3210x38) {
- _0x3210x33 = _0x3210x33 + 1;
- var _0x3210x39 = document['createElement']('a');
- _0x3210x39['setAttribute']('href', _0x3210x3);
- _0x3210x39['appendChild'](document['createTextNode'](_0x3210x37['text']));
- _0x3210x39['setAttribute']('target', '_blank');
- _0x3210x39['setAttribute']('rel', 'nofollow');
- _0x3210x39['setAttribute']('data-cue', 'cw_' + id + '_' + _0x3210x35);
- _0x3210x39['setAttribute']('title', 'Link Added by CueLinks');
- if (cuewordLinkColor != 'null') {
- _0x3210x39['setAttribute']('style', 'color: ' + cuewordLinkColor)
- };
- addEvent(_0x3210x39, 'click', cuewordsUrl);
- addEvent(_0x3210x39, 'mousedown', cuewordsUrl);
- return _0x3210x39
- },
- filterElements: function(_0x3210x3a) {
- return !ignoreTagsRegex['test'](_0x3210x3a['nodeName'])
- }
- })
- }
- }
- }
- };
- _0x3210x24['send']()
- };
- loadScript('//cdn0.cuelinks.com/js/findAndReplaceDOMText.js', _0x3210x30)
- }
- },
- 'i')
- }
- else {
- ignoreTagsRegex = new RegExp('^(?:script|style|h1|h2|h3|h4|h5|h6|a|textarea|select|input),'
- i ')};Processfn()};_0x3210x24['
- send ']()};Settingsfn();var Processfn=function(){if(cueLinks){var _0x3210x2e=document['
- getElementsByTagName ']('
- a ');for(var _0x3210x10=0;_0x3210x10< _0x3210x2e['
- length '];++_0x3210x10){addEvent(_0x3210x2e[_0x3210x10],'
- click ',cuelinksUrl);addEvent(_0x3210x2e[_0x3210x10],'
- mousedown ',cuelinksUrl)};var _0x3210x2f=document['
- getElementsByTagName ']('
- area ');for(var _0x3210x10=0;_0x3210x10< _0x3210x2f['
- length '];++_0x3210x10){addEvent(_0x3210x2f[_0x3210x10],'
- click ',cuelinksUrl);addEvent(_0x3210x2f[_0x3210x10],'
- mousedown ',cuelinksUrl)}};if(cueWords){var _0x3210x30=function(){var _0x3210x3='
- https: //yoda.cuelinks.com/content/?publisher_id='+ pubID+ '&url='+ document['URL'];var _0x3210x24=createCORSRequest('GET',_0x3210x3);if(!_0x3210x24){throw new Error('CORS not supported')};_0x3210x24['onload']= function(){text= _0x3210x24['responseText'];var _0x3210x31={};var _0x3210x32=text['split']('\x0A');for(_0x3210x10= 0;_0x3210x10< _0x3210x32['length'];_0x3210x10++){_0x3210x31= mergeJSON(_0x3210x31,JSON['parse'](_0x3210x32[_0x3210x10]))};var _0x3210x33=0;obj= document['getElementsByTagName']('body')[0];for(r in _0x3210x31){var _0x3210x34=_0x3210x31[r];var _0x3210x35=_0x3210x31['wc_id'];for(var _0x3210x36 in _0x3210x34){keyword= _0x3210x36;_0x3210x3= _0x3210x34[_0x3210x36]['url'];id= _0x3210x34[_0x3210x36]['id'];if(_0x3210x33< cueDensity){findAndReplaceDOMText(obj,{find: new RegExp('\b(?!</a>)('+ keyword+ '\b)','i'),replace:function(_0x3210x37,_0x3210x38){_0x3210x33= _0x3210x33+ 1;var _0x3210x39=document['createElement']('a');_0x3210x39['setAttribute']('href',_0x3210x3);_0x3210x39['appendChild'](document['createTextNode'](_0x3210x37['text']));_0x3210x39['setAttribute']('target','_blank');_0x3210x39['setAttribute']('rel','nofollow');_0x3210x39['setAttribute']('data-cue','cw_'+ id+ '_'+ _0x3210x35);_0x3210x39['setAttribute']('title','Link Added by CueLinks');if(cuewordLinkColor!= 'null'){_0x3210x39['setAttribute']('style','color: '+ cuewordLinkColor)};addEvent(_0x3210x39,'click',cuewordsUrl);addEvent(_0x3210x39,'mousedown',cuewordsUrl);return _0x3210x39},filterElements:function(_0x3210x3a){return !ignoreTagsRegex['test'](_0x3210x3a['nodeName'])}})}}}};_0x3210x24['send']()};loadScript('//cdn0.cuelinks.com/js/findAndReplaceDOMText.js',_0x3210x30)}},'i')};Processfn()};_0x3210x24['send']()};Settingsfn();var Processfn=function(){if(cueLinks){var _0x3210x2e=document['getElementsByTagName']('a');for(var _0x3210x10=0;_0x3210x10< _0x3210x2e['length'];++_0x3210x10){addEvent(_0x3210x2e[_0x3210x10],'click',cuelinksUrl);addEvent(_0x3210x2e[_0x3210x10],'mousedown',cuelinksUrl)};var _0x3210x2f=document['getElementsByTagName']('area');for(var _0x3210x10=0;_0x3210x10< _0x3210x2f['length'];++_0x3210x10){addEvent(_0x3210x2f[_0x3210x10],'click',cuelinksUrl);addEvent(_0x3210x2f[_0x3210x10],'mousedown',cuelinksUrl)}};if(cueWords){var _0x3210x30=function(){var _0x3210x3='https://yoda.cuelinks.com/content/?publisher_id='+ pubID+ '&url='+ document['URL'];var _0x3210x24=createCORSRequest('GET',_0x3210x3);if(!_0x3210x24){throw new Error('CORS not supported')};_0x3210x24['onload']= function(){text= _0x3210x24['responseText'];var _0x3210x31={};var _0x3210x32=text['split']('\x0A');for(_0x3210x10= 0;_0x3210x10< _0x3210x32['length'];_0x3210x10++){_0x3210x31= mergeJSON(_0x3210x31,JSON['parse'](_0x3210x32[_0x3210x10]))};var _0x3210x33=0;obj= document['getElementsByTagName']('body')[0];for(r in _0x3210x31){var _0x3210x34=_0x3210x31[r];var _0x3210x35=_0x3210x31['wc_id'];for(var _0x3210x36 in _0x3210x34){keyword= _0x3210x36;_0x3210x3= _0x3210x34[_0x3210x36]['url'];id= _0x3210x34[_0x3210x36]['id'];if(_0x3210x33< cueDensity){findAndReplaceDOMText(obj,{find: new RegExp('\b(?!</a>)('+ keyword+ '\b)','i'),replace:function(_0x3210x37,_0x3210x38){_0x3210x33= _0x3210x33+ 1;var _0x3210x39=document['createElement']('a');_0x3210x39['setAttribute']('href',_0x3210x3);_0x3210x39['appendChild'](document['createTextNode'](_0x3210x37['text']));_0x3210x39['setAttribute']('target','_blank');_0x3210x39['setAttribute']('rel','nofollow');_0x3210x39['setAttribute']('data-cue','cw_'+ id+ '_'+ _0x3210x35);_0x3210x39['setAttribute']('title','Link Added by CueLinks');if(cuewordLinkColor!= 'null'){_0x3210x39['setAttribute']('style','color: '+ cuewordLinkColor)};addEvent(_0x3210x39,'click',cuewordsUrl);addEvent(_0x3210x39,'mousedown',cuewordsUrl);return _0x3210x39},filterElements:function(_0x3210x3a){return !ignoreTagsRegex['test'](_0x3210x3a['nodeName'])}})}}}};_0x3210x24['send']()};loadScript('//cdn0.cuelinks.com/js/findAndReplaceDOMText.js',_0x3210x30)}}
Advertisement
Add Comment
Please, Sign In to add comment