Skip to content

Commit

Permalink
- Reducing junk in indeed URLs that get copied
Browse files Browse the repository at this point in the history
  • Loading branch information
incutonez committed Jan 2, 2025
1 parent 7d5b676 commit a739b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkedIn/details2.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let appliedDate = new Intl.DateTimeFormat('en-US', {
if (location.hostname === "www.indeed.com") {
companyName = document.querySelector('.jobsearch-JobInfoHeader-companyNameLink')?.innerText || document.querySelector(".jobsearch-JobInfoHeader-companyNameSimple").innerText;
jobTitle = document.querySelector("[data-testid='simpler-jobTitle']").innerText;
url = location.toString();
url = location.href.split('?')[0] + `?jk=${Object.fromEntries(new URLSearchParams(location.search)).jk}`;
}
else {
const parent = document.getElementsByClassName('job-details-jobs-unified-top-card__company-name')[0];
Expand Down

0 comments on commit a739b53

Please sign in to comment.