Job Description
Inject the flag directly into the main browser window and the session.window.isSFInternalUser = true;sessionStorage.setItem('SF_Internal_User', 'true');
document.addEventListener('DOMContentLoaded', function () {if (document.querySelector('.job-page')) {let columnOne = document.querySelector('.jobColumnOne');if (!columnOne) return;
let titleElement = columnOne.querySelector('span[itemprop="title"]');let titleText = titleElement ? titleElement.textContent.trim() : '';if (titleElement) titleElement.closest('.joblayouttoken').remove();
columnOne.insertAdjacentHTML('afterbegin', `
${titleText}
`);
let grid = columnOne.querySelector('.job-grid');let allTokens = Array.from(columnOne.querySelectorAll('.joblayouttoken'));
- -- 1. CAPTURE VARIABLES FOR BUSINESS RULES ---let jobLocationValue = "";let countryRegionValue = "";let regionValue = "";let jobLevelValue = "";let employeeGroupValue = "";
allTokens.forEach(el =>{let labelEl = el.querySelector('.joblayouttoken-label');if (!labelEl) return;
let labelText = labelEl.innerText;let propId = generatePropertyId(labelText);let valueEl = el.querySelector('.rtltextaligneligible');let valueText = valueEl ? valueEl.textContent.trim() : "";
if (propId === "JobLocation") {jobLocationValue = valueText;} else if (propId === "CountryRegion") {countryRegionValue = valueText;} else if (propId === "Region") {regionValue = valueText;} else if (propId === "JobLevel") {jobLevelValue = valueText.toUpperCase().trim();} else if (propId === "EmployeeGroup") {employeeGroupValue = valueText.toLowerCase();}});
- -- 1.5 FALLBACK DATA FROM JOB DESCRIPTION ---let descDiv = document.querySelector('.job-description') || columnOne.querySelector('[itemprop="description"]');if (descDiv) {let descText = descDiv.innerText || "";
if (!employeeGroupValue) {let eg = descText.match(/Employee Group:\s([^]+)/i);if (eg) employeeGroupValue = eg[1].toLowerCase().trim();}if (!countryRegionValue) {let cr = descText.match(/Country:\s([^]+)/i);if (cr) countryRegionValue = cr[1].toLowerCase().trim();}if (!regionValue) {let rg = descText.match(/Region:\s([^]+)/i);if (rg) regionValue = rg[1].toLowerCase().trim();}if (!jobLevelValue) {let jl = descText.match(/Job Level:\s([^]+)/i);if (jl && !jl[0].toLowerCase().includes("experience")) {jobLevelValue = jl[1].toUpperCase().trim();}}}
- -- 2. RULE VALIDATION ---let isSalaryPaid = employeeGroupValue.includes('salary');
Job Level Rule: if >= PL09 or ZZ, hide the salary.let isJobLevelSalaryEligible = true;let plMatch = jobLevelValue.match(/PL(\d+)/);if (jobLevelValue.includes("ZZ")) {isJobLevelSalaryEligible = false;} else if (plMatch && parseInt(plMatch[1], 10) >= 9) {isJobLevelSalaryEligible = false;}
let fullLocationLower = (jobLocationValue + " " + countryRegionValue).toLowerCase();let isUSJob = fullLocationLower.includes("usa") || fullLocationLower.includes("united states") || /\bus\b/.test(fullLocationLower);
let allowedUSStates = ["california", "colorado", "delaware", "hawaii", "illinois", "maryland", "massachusetts", "minnesota", "nevada", "new jersey", "new york", "vermont", "washington", "d.c."];let allowedUSAbbr = ["ca", "co", "de", "hi", "il", "md", "ma", "mn", "nv", "nj", "ny", "vt", "wa", "dc"];let allowedGlobalCountries = ["austria", "slovakia", "lithuania", "latvia", "canada"];let allowedGlobalCountries = ["asd"]let isSalaryLocationValid = false;if (isUSJob) {let hasFullStateName = allowedUSStates.some(state =>fullLocationLower.includes(state));let hasStateAbbr = allowedUSAbbr.some(abbr =>{let regex = new RegExp(\\b${abbr}\\b);return regex.test(fullLocationLower);});isSalaryLocationValid = hasFullStateName || hasStateAbbr;} else {isSalaryLocationValid = allowedGlobalCountries.some(country =>fullLocationLower.includes(country));}
let showSalaryRange = isSalaryLocationValid && isJobLevelSalaryEligible && isSalaryPaid;
- -- 3. TOKEN PROCESSING AND DISPLAY ---allTokens.forEach(el =>{if (el.querySelector('[itemprop="description"]')) {return;}
let labelEl = el.querySelector('.joblayouttoken-label');if (labelEl) {let labelText = labelEl.innerText;let customPropertyid = generatePropertyId(labelText);
-- ABSOLUTE REMOVAL OF TOKENS USED FOR LOGIC ---if (customPropertyid === "EmployeeGroup" ||customPropertyid === "CountryRegion" ||customPropertyid === "Region" ||customPropertyid === "JobLevel") {el.style.display = 'none';el.remove();return;}
-- BUSINESS FILTERS ---if (customPropertyid === "SalaryRange" && !showSalaryRange) {el.style.display = 'none';el.remove();return;}
-- LABEL TEXT WORKAROUNDS ---if (customPropertyid === "SalaryRange" && labelText.toLowerCase().includes("recruitment salary range")) {labelEl.innerText = labelText.replace(/Recruitment Salary Range/ig, "Annual Salary Range");}if (labelText.includes("(Short)")) {labelEl.innerText = labelText.replace(/(Short)/g, "(s)");}
-- BRUTE FORCE STYLING ---labelEl.style.setProperty('font-weight', 'bold', 'important');labelEl.style.setProperty('font-size', '14px', 'important');labelEl.style.setProperty('color', '#303030', 'important');labelEl.style.setProperty('font-family', 'Verdana, Geneva, sans-serif', 'important');
let valueEl = el.querySelector('.rtltextaligneligible');if (valueEl) {valueEl.style.setProperty('font-weight', 'normal', 'important');valueEl.style.setProperty('font-size', '15px', 'important');valueEl.style.setProperty('color', '#303030', 'important');valueEl.style.setProperty('font-family', 'Verdana, Geneva, sans-serif', 'important');}
- -- ADD ICONS ---let elType = labelEl.nextElementSibling;if (elType) {let icon = '';let iconUrl = '';
switch (customPropertyid) {case 'JobLocation': icon = 'glyphicon-map-marker'; break;case 'BusinessUnit': icon = 'glyphicon-briefcase'; break;case 'JobCategory': icon = 'glyphicon-dashboard'; break;case 'EmploymentType': icon = 'glyphicon-star-empty'; break;case 'ReqID': icon = 'glyphicon-calendar'; break;case 'WorkLocationType': icon = 'glyphicon-paste'; break;case 'JobExperienceLevel':iconUrl = 'https:rmkcdn.successfactors.com/ef55fddb/b4cf3492-3cb2-4e29-a914-3.png';break;case 'SalaryRange':iconUrl = 'https:rmkcdn.successfactors.com/ef55fddb/3bd06ab1-e5dc-4e72-abcb-3.png';break;case 'TAPartner':iconUrl = 'https:rmkcdn.successfactors.com/ef55fddb/66a66419-f8c9-4f0e-b94a-6.png';break;default: icon = '';}
let iconHtml = '';if (icon) {iconHtml = ; } else if (iconUrl) { iconHtml =;}
labelEl.parentElement.insertAdjacentHTML('beforebegin', ${iconHtml});
let wrapper = el.querySelector(.job-token-${customPropertyid}-wrapper);wrapper.appendChild(labelEl.parentElement);
let emptySibling = document.querySelector(.job-token-${customPropertyid}-wrapper).nextSibling;if(emptySibling && emptySibling.nodeType === 3) emptySibling.remove();}
grid.appendChild(el);}});
- -- 4. CLEAN UP JOB DESCRIPTION HARDCODED TOKENS ---if (descDiv) {let descHtml = descDiv.innerHTML;descHtml = descHtml.replace(/Employee Group:[\s\S]*?(?=
Apply now
/ ==========================================================================Button StandardizationForces consistent appearance for all application buttons in the CSBcontainer, removing default browser and SAP SuccessFactors styling.========================================================================== /.unify-button-container .btn-large,.unify-button-container .unify-apply-now,.unify-button-container button.employee-refer-a-friend {display: inline-block !important;padding: 10px 20px !important;font-size: 16px !important;text-align: center !important;text-decoration: none !important;border-radius: 4px !important;background-color: #ed0715 !important;border: 2px solid #ed0715 !important;color: #ffffff !important;transition: none !important; / Disables default CSS transitions /cursor: pointer !important;line-height: normal !important;height: auto !important;min-width: 150px !important;background-image: none !important; / Removes default gradients /box-shadow: none !important;text-shadow: none !important;}
/ Hover state: Maintains flat design, removing unwanted shadow/filter effects /.unify-button-container .btn-large:hover,.unify-button-container .unify-apply-now:hover,.unify-button-container button.employee-refer-a-friend:hover {background-color: #ed0715 !important;color: #ffffff !important;border: 2px solid #ed0715 !important;box-shadow: none !important;}
/ Removes focus/active visual artifacts (darkening filters and focus outlines) /.unify-button-container a:active,.unify-button-container button:active,.unify-button-container a:focus,.unify-button-container button:focus {background-color: #ed0715 !important;color: #ffffff !important;outline: none !important;box-shadow: none !important;filter: none !important;}
.unify .unify-button-container.rightAlign, .unify .social-media-container.rightAlign {justify-content: center !important;}
.unify-apply-now {opacity: 1 !important;}
(function() {/
- Brand Content Mapping
- Stores images and descriptions per Brand and Locale.
- Keys are "purified" (lowercase, alphanumeric) to ensure robust matching.
- /const brandContent = {"leanheat": {"en_GB": { image: "https:rmkcdn.successfactors.com/ef55fddb/f091c610-46ac-4212-99b0-0.gif", description: "Danfoss Leanheat Building's AI based IoT solution monitors, controls and optimizes the indoor temperature and humidity of buildings heated using district heating. Our solution improves the energy efficiency of properties, increases the operational efficiency of district heating companies and creates a healthier indoor climate for residents. At Danfoss, we believe that energy-efficiency holds the answers to the challenges and opportunities posed by the world today. We encourage all our people to be digitally driven and do the extraordinary so that they question the accepted truths, dare to be bold, and take charge." }},"geminatermix": {"da_DK": { image: "https:rmkcdn.successfactors.com/ef55fddb/b402b0f8-fd9a-4cd0-9d09-6.jpg", description: "Gemina Termix A/S, der er en del af Danfoss-koncernen, ligger i Sunds ved Herning. Virksomheden er specialiseret indenfor udvikling, produktion og salg af fjernvarmeanlæg til huse og lejligheder samt større byggerier. Gennem en høj grad af innovation har Gemina Termix A/S sikret sig en ledende position indenfor fjernvarmebranchen." }},"postgraduate": {"en_GB": { image: "https:rmkcdn.successfactors.com/ef55fddb/035c445e-bf8c-4b96-9d52-5.jpg", description: "Danfoss engineers solutions that increase machine productivity, reduce emissions, lower energy consumption, and enable electrification. Our solutions are used in such areas as refrigeration, air conditioning, heating, power conversion, motor control, industrial machinery, automotive, marine, and off- and on-highway equipment. Our innovative engineering dates back to 1933. Danfoss is family-owned, employing more than 39.000 people, serving customers in more than 100 countries through a global footprint of 95 factories." }},"semikrondanfoss": {"en_GB": { image: "https:rmkcdn.successfactors.com/ef55fddb/b31e89f5-70d0-4683-8bea-b.jpg", description: "Semikron Danfoss is a global technology leader in power electronics. Our product offerings include semiconductor devices, power modules, stacks and systems. In a world that is going electric, Semikron Danfoss technologies are more relevant than ever. We take care of our employees and create value for our customers by investing significantly in innovation, technology, capacity and service to deliver best-in-industry performance and for a sustainable future." },"de_DE": { image: "https:rmkcdn.successfactors.com/ef55fddb/b31e89f5-70d0-4683-8bea-b.jpg", description: "Semikron Danfoss ist ein weltweiter Technologieführer in der Leistungselektronik. Unser Produktangebot umfasst Halbleiterbauelemente, Leistungsmodule, Stacks und Systeme. In einer zunehmend elektrifizierten Welt sind die Technologien von Semikron Danfoss wichtiger denn je. Wir kümmern uns um unsere Mitarbeitenden und schaffen Wert für unsere Kunden, indem wir erheblich in Innovation, Technologie, Kapazität und Service investieren." },"fr_FR": { image: "https:rmkcdn.successfactors.com/ef55fddb/b31e89f5-70d0-4683-8bea-b.jpg", description: "Semikron Danfoss est un leader technologique mondial dans le domaine de l'électronique de puissance. Notre offre de produits comprend des semi-conducteurs, modules de puissance, des convertisseurs de puissance et des systèmes. Dans un monde qui devient électrique, les technologies de Semikron Danfoss sont plus pertinentes que jamais." },"sk_SK": { image: "https:rmkcdn.successfactors.com/ef55fddb/b31e89f5-70d0-4683-8bea-b.jpg", description: "Semikron Danfoss je globálnym lídrom v technológiach, konkrétne v oblasti výkonovej elektroniky. Nae portfólio produktov zaha polovodiové zariadenia, výkonové moduly, zásobníky a systémy. Vo svete, kde elektrifikácia zohráva ím alej väiu rolu, sú technológie Semikron Danfoss dôleitejie ako kedykovek predtým." }},"danfossredan": {"en_GB": { image: "https:rmkcdn.successfactors.com/ef55fddb/039ebf31-0f83-473e-b002-f.png", description: "Danfoss Redan has since 1971 been a leading producer of modern district heating units, heat exchangers and controls for district heating - both for private homes and for larger district-heating installations. The constant focus on efficiency and quality has made the Danfoss Redan name known far beyond the country's borders." },"dk_DK": { image: "https:rmkcdn.successfactors.com/ef55fddb/039ebf31-0f83-473e-b002-f.png", description: "Danfoss Redan har siden 1971 været førende inden for produktion af moderne fjernvarmeunits, varmevekslere og automatik til fjernvarme - både til private hjem og til større fjernvarmeinstallationer. Det konstante fokus på effektivitet og kvalitet har gjort Danfoss Redan navnet kendt langt uden for landets grænser." }},"standard": {"en_GB": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: "Danfoss engineers solutions that increase machine productivity, reduce emissions, lower energy consumption, and enable electrification. Our solutions are used in areas such as refrigeration, air conditioning, heating, power conversion, motor control, industrial machinery, marine, and on- and off-highway equipment. We also provide solutions for data centers, renewable energy, energy storage, heat recovery, as well as contribute to district energy solutions for cities.Our innovative engineering dates back to 1933. Danfoss is family-owned and employs over 39,000 people. We create long-term value for our customers in more than 100 countries with a global footprint of around 100 factories."},"de_DE": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: "Danfoss entwickelt Lösungen, die die Produktivität von Maschinen steigern, Emissionen reduzieren, den Energieverbrauch senken und Elektrifizierung ermöglichen. Unsere Lösungen kommen in Bereichen wie Kälte- und Klimatechnik, Heizung, Energieumwandlung, Motorsteuerung, Industriemaschinen, Schifffahrt sowie in On- und Off-Highway-Anwendungen zum Einsatz. Darüber hinaus bieten wir Lösungen für Rechenzentren, erneuerbare Energien, Energiespeicherung und Wärmerückgewinnung und tragen zu Fernenergielösungen für Städte bei. Unsere innovative Ingenieurskunst reicht bis ins Jahr 1933 zurück. Danfoss ist ein familiengeführtes Unternehmen mit über 39.000 Mitarbeitenden. Wir schaffen langfristigen Mehrwert für unsere Kunden in mehr als 100 Ländern - mit rund 100 Produktionsstätten weltweit." },"sk_SK": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: "Danfoss vyvíja rieenia, ktoré zvyujú produktivitu strojov, zniujú emisie, zniujú spotrebu energie a umoujú elektrifikáciu. Nae rieenia sa pouívajú v oblastiach ako chladenie, klimatizácia, vykurovanie, konverzia energie, riadenie motorov, priemyselné stroje, námorný sektor a cestná aj mimocestná technika. Poskytujeme tie rieenia pre dátové centrá, obnovitené zdroje energie, ukladanie energie, rekuperáciu tepla a prispievame k rieeniam centralizovaného zásobovania energiou pre mestá. Naa inovatívna technická tradícia siaha a do roku 1933. Danfoss je rodinná spolonos s viac ako 39 000 zamestnancami. Vytvárame dlhodobú hodnotu pre naich zákazníkov vo viac ako 100 krajinách a máme pribline 100 výrobných závodov po celom svete." },"pl_PL": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: "Danfoss opracowuje rozwizania, które zwikszaj wydajno maszyn, redukuj emisje, obniaj zuycie energii oraz umoliwiaj elektryfikacj. Nasze rozwizania s wykorzystywane w takich obszarach jak chodnictwo, klimatyzacja, ogrzewanie, przetwarzanie energii, sterowanie silnikami, maszyny przemysowe, sektor morski oraz pojazdy drogowe i pozadrogowe. Oferujemy równie rozwizania dla centrów danych, energii odnawialnej, magazynowania energii i odzysku ciepa oraz wspieramy miejskie systemy ciepownicze. Nasza innowacyjna dziaalno inynieryjna siga 1933 roku. Danfoss jest firm rodzinn i zatrudnia ponad 39 000 pracowników. Tworzymy dugoterminow warto dla naszych klientów w ponad 100 krajach, posiadajc okoo 100 zakadów produkcyjnych na caym wiecie." },"da_DK": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: "Danfoss udvikler løsninger, der øger maskinernes produktivitet, reducerer emissioner, sænker energiforbruget og muliggør elektrificering. Vores løsninger anvendes inden for områder som køling, aircondition, opvarmning, energikonvertering, motorstyring, industrimaskiner, marine samt on- og off-highway udstyr. Vi leverer også løsninger til datacentre, vedvarende energi, energilagring og varmegenvinding samt bidrager til fjernvarmeløsninger til byer. Vores innovative ingeniørarbejde går tilbage til 1933. Danfoss er familieejet og beskæftiger mere end 39.000 medarbejdere. Vi skaber langsigtet værdi for vores kunder i mere end 100 lande med et globalt fodaftryk på omkring 100 fabrikker." },"es_MX": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: "Danfoss desarrolla soluciones que aumentan la productividad de las máquinas, reducen emisiones, disminuyen el consumo de energía y permiten la electrificación. Nuestras soluciones se utilizan en áreas como refrigeración, aire acondicionado, calefacción, conversión de energía, control de motores, maquinaria industrial, sector marino y equipos dentro y fuera de carretera. También ofrecemos soluciones para centros de datos, energías renovables, almacenamiento de energía y recuperación de calor, y contribuimos a soluciones energéticas urbanas. Nuestra ingeniería innovadora se remonta a 1933. Danfoss es una empresa familiar con más de 39,000 empleados. Creamos valor a largo plazo para nuestros clientes en más de 100 países, con una presencia global de alrededor de 100 plantas de producción." },"zh_CN": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: ", ,, 1933,39,000100,100" },"fr_FR": { image: "https:rmkcdn.successfactors.com/ef55fddb/7571acdc-3a84-48b1-bac6-4.jpg", description: "Danfoss développe des solutions qui augmentent la productivité des machines, réduisent les émissions, diminuent la consommation d'énergie et permettent l'électrification. Nos solutions sont utilisées dans des domaines tels que la réfrigération, la climatisation, le chauffage, la conversion d'énergie, le contrôle des moteurs, les machines industrielles, le secteur maritime ainsi que les équipements routiers et tout-terrain. Nous fournissons également des solutions pour les centres de données, les énergies renouvelables, le stockage d'énergie et la récupération de chaleur, et nous contribuons aux solutions énergétiques urbaines. Notre ingénierie innovante remonte à 1933. Danfoss est une entreprise familiale qui emploie plus de 39 000 personnes. Nous créons de la valeur à long terme pour nos clients dans plus de 100 pays, avec une présence mondiale d'environ 100 sites de production." }}};
/
- String Purifier
- Converts strings to lowercase and removes all non-alphanumeric characters.
- This ensures matches work despite different formatting or whitespace.
- /function purify(str) {return str.toLowerCase().replace(/[^a-z0-9]/g, '');}
/
- Brand Renderer
- Detects the "Brand:" label in the DOM, matches it to our data,
- and injects the formatted HTML template.
- /function renderBrandContent() {var elements = document.querySelectorAll('*');var detectedKey = "standard";
for (var i = 0; i