Indeed.com: Highlight non-sponsored jobs

This script just highlights sponsored and non-sponsored jobs by different colors for better visualization.

< Commentaires sur Indeed.com: Highlight non-sponsored jobs

Question / commentaire

§
Posté le: 07/08/2016
Édité le: 07/08/2016

[feature request] linkify the Company name on 'viewjob' pages

Hello again. I'm really digging your script. And as shown, it's in my Favorites category.

I'm wondering if you would considering adding a feature, one that can be toggled: convert the static text of the Company name to a linkified query on 'viewjob' pages...

For example, check out http://www.indeed.com/viewjob?jk=a50cbbad94209a82

The very first appearance of "ICON Clinical Research", next to the star ratings, I'ld like to become a link, pointing to http://www.indeed.com/jobs?q=company%3A%22ICON+Clinical+Research%22&l=

(Notice the Location field is kept empty.)

Pity I don't know coding, I'ld do this myself, as this feature seems like it would be simple to implement.

lukie80Auteur
§
Posté le: 09/08/2016

Hi. I'm happy you like it.

I finally managed to implement it. I've updated the script (v1.2) to include the company link. However, it currently replaces any previous links: I'm having problems to detect if a link already exists. I'll have to investigate it.

I don't know if you noticed, but I've also made a new design to Indeed with all the features from this script. I simply don't like the 90s Design. :smiley:
https://greasyfork.org/de/scripts/21365-indeed-com-design-like-stepstone

§
Posté le: 10/08/2016
Édité le: 10/08/2016

AWESOME!

This is such an ux improvement, thank you!

I'm not sure what you mean by 'previous links'--on the .com pages, that Company name is not linky-fied, it's just plain text. Perhaps it is on their other country domains?

I looked at your other script. I think they're rolling out the new design to certain (servers?), because I think my pages already look like that (or similar to it).

Funny enough, I prefer the old design! :blush:

Thanks again, I really appreciate the feature update.

§
Posté le: 13/08/2016
Édité le: 13/08/2016

Hi @lukie80 , quick update... When the Company string has spaces in it, I'm getting links that look like this:

http://www.indeed.com/jobs?q=company%3A%22ICONClinicalResearch%22&l= {notice, no '+'}

Looking at your code, as I'm right (probably not), are you changing '+' to blank space?

also, I think it's best to grab the company name from e.g.: <span class="company">ICON Clinical Research</span> as this has the properly blankspaces in the name.

lukie80Auteur
§
Posté le: 17/08/2016

Hello.

It was my stupid mistake. Thanks for reporting.

You are right, I removed leading spaces but unfortunately also other spaces. I used a regular expression to detect leading spaces which was incorrect: (\s+). If no leading space was found it took the second to remove which is wrong. Now I changed it to ^\s* which is a double fix because it will remove only spaces at the beginning (^) and will remove nothing if no leading space is present (*).

The leading spaces are present in the list-page but not in the detail-page. I use the "textContent" property to get the company name from the class.

§
Posté le: 22/08/2016

Sweet! Exactly as requested, thanks again!

Poster une réponse

Connectez-vous pour poster une réponse.