function getQueryParameter(name) { let url = new URL(window.location.href); return url.searchParams.get(name); } var adbuy = getQueryParameter('b') || ""; var keywords = getQueryParameter('keywords') || ""; var ads_channel_id = getQueryParameter('ads_channel_id'); var cid = getQueryParameter('cid') || ""; // If neither adbuy nor keywords are available, extract from the title if (!adbuy && !keywords) { keywords = document.title.split(' ').join(','); } function fetchChannelId(adbuy, keywords, cid, route) { return new Promise((resolve, reject) => { var xhr = new XMLHttpRequest(); xhr.open("POST", "https://channel.abrashin.com.ua/fetch_channel_id_by_cid.php", true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onreadystatechange = function () { if (xhr.readyState === 4) { if (xhr.status === 200) { try { var response = JSON.parse(xhr.responseText); resolve(response); } catch (e) { reject("Error parsing JSON response: " + e.message); } } else { reject("Error fetching channel ID: " + xhr.statusText); } } }; var data = JSON.stringify({ adbuy: adbuy, keywords: keywords, cid: cid, route: route }); xhr.send(data); }); } function parseUserAgent() { var ua = navigator.userAgent, tem, M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; if (/trident/i.test(M[1])) { tem = /\brv[ :]+(\d+)/g.exec(ua) || []; return {name: 'IE', version: (tem[1] || '')}; } if (M[1] === 'Chrome') { tem = ua.match(/\b(OPR|Edge)\/(\d+)/); if (tem != null) return {name: tem[1].replace('OPR', 'Opera'), version: tem[2]}; } M = M[2] ? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?']; if ((tem = ua.match(/version\/(\d+)/i)) != null) M.splice(1, 1, tem[1]); return { name: M[0], version: M[1] }; } function getOS() { var userAgent = window.navigator.userAgent, platform = window.navigator?.userAgentData?.platform || window.navigator.platform, macosPlatforms = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'], windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE'], iosPlatforms = ['iPhone', 'iPad', 'iPod'], os = null; if (macosPlatforms.indexOf(platform) !== -1) { os = 'Mac OS'; } else if (iosPlatforms.indexOf(platform) !== -1) { os = 'iOS'; } else if (windowsPlatforms.indexOf(platform) !== -1) { os = 'Windows'; } else if (/Android/.test(userAgent)) { os = 'Android'; } else if (!os && /Linux/.test(platform)) { os = 'Linux'; } return os; } function getIpAddress() { return new Promise((resolve, reject) => { var xhr = new XMLHttpRequest(); xhr.open("GET", "https://api.ipify.org?format=json", true); xhr.onreadystatechange = function () { if (xhr.readyState === 4 && xhr.status === 200) { try { var response = JSON.parse(xhr.responseText); resolve(response.ip); } catch (e) { reject("Error parsing IP response: " + e.message); } } else if (xhr.readyState === 4) { reject("Error fetching IP address: " + xhr.statusText); } }; xhr.send(); }); } function sendClickData(ad_id, admedia_channel_id, url, url_title, referrer, referrer_title, user_agent, user_id, session_id, browser_name, browser_version, os_name, os_version, device_type) { var xhr = new XMLHttpRequest(); xhr.open("POST", "https://channel.abrashin.com.ua/record_ad_click.php", true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onreadystatechange = function () { if (xhr.readyState === 4 && xhr.status === 200) { console.log("Ad click recorded successfully."); } }; var data = JSON.stringify({ ad_id: ad_id, admedia_channel_id: admedia_channel_id, url: url, url_title: url_title, referrer: referrer, referrer_title: referrer_title, user_agent: user_agent, user_id: user_id, session_id: session_id, browser_name: browser_name, browser_version: browser_version, os_name: os_name, os_version: os_version, device_type: device_type }); xhr.send(data); } document.addEventListener("DOMContentLoaded", function() { var adsContainers = ["adm-ads-results", "adm-ads-results-bottom"]; var browser = parseUserAgent(); var os_name = getOS(); var os_version = "unknown"; // Set the OS version if available var device_type = "unknown"; // Determine the device type getIpAddress().then(ipAddress => { var user_id = ipAddress; var session_id = new Date().getTime() + "_" + ipAddress; adsContainers.forEach(function(containerId) { var container = document.getElementById(containerId); if (container) { container.addEventListener("click", function(event) { var ad_id = event.target.getAttribute("data-ad-id") || ""; var admedia_channel_id = getQueryParameter('ads_channel_id') || ""; if (!admedia_channel_id) { fetchChannelId(adbuy, keywords, cid, window.location.href).then(response => { admedia_channel_id = response.admedia_channel_id; var url = window.location.href; var url_title = document.title; var referrer = document.referrer; var referrer_title = document.referrer ? document.referrer : ""; var user_agent = navigator.userAgent; var browser_name = browser.name; var browser_version = browser.version; sendClickData(ad_id, admedia_channel_id, url, url_title, referrer, referrer_title, user_agent, user_id, session_id, browser_name, browser_version, os_name, os_version, device_type); }).catch(error => { console.error(error); }); } else { var url = window.location.href; var url_title = document.title; var referrer = document.referrer; var referrer_title = document.referrer ? document.referrer : ""; var user_agent = navigator.userAgent; var browser_name = browser.name; var browser_version = browser.version; sendClickData(ad_id, admedia_channel_id, url, url_title, referrer, referrer_title, user_agent, user_id, session_id, browser_name, browser_version, os_name, os_version, device_type); } }); } }); }).catch(error => { console.error(error); }); }); if (ads_channel_id) { var channelId = ads_channel_id; console.log("Using channel ID from URL parameter:", channelId); var pageOptions = { "pubId": "partner-synacor-classifiedads", "query": keywords, "styleId": "8115525811", "adsafe": "high", "channel": channelId }; console.log("pageOptions.query :", pageOptions.query); console.log("pageOptions.channel :", pageOptions.channel); _googCsa('ads', pageOptions, { "container": "adm-ads-results" }); _googCsa('ads', pageOptions, { "container": "adm-ads-results-bottom" }); } else { fetchChannelId(adbuy, keywords, cid, window.location.href).then(response => { var channelId = response.admedia_channel_id; console.log("We send the following keywords to fetch channel ID:", keywords); console.log("We send the following adbuy to fetch channel ID:", adbuy); console.log("We send the following cid to fetch channel ID:", cid); console.log("Using fetched channel ID:", channelId); var pageOptions = { "pubId": "partner-synacor-classifiedads", "query": keywords, "styleId": "8115525811", "adsafe": "high", "channel": channelId }; console.log("pageOptions.query :", pageOptions.query); console.log("pageOptions.channel :", pageOptions.channel); _googCsa('ads', pageOptions, { "container": "adm-ads-results" }); _googCsa('ads', pageOptions, { "container": "adm-ads-results-bottom" }); }).catch(error => { console.error(error); }); }
SEARCH
Pets
Pet Supplies
in Ashland
Pets
Ashland

Stop The Stink From Pet Farts

Overview

Respond to this Ad
Ad number:#1035963628
Contact:Matt Morrison
City:Rockport, TX
Zip:78382
Price:$0

Description

Does your pet have gas problems? If the answer is yes, then you must want a way to clear the air. Thankuflly, these special treats can take care of it. They don't stop the farts, but they will stop the stink from said farts. And they don't just work for pets either, so you can have anyone clear up the stale air.

Respond to this Ad

Report this ad


Type of problem:







Your email (optional)


URL (optional)


Comment (optional)
Sending...
Sending...
© 2024 ClassifiedAds.com, Inc. All rights reserved.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _