- Jul 15, 2020
- 316
- 72
TGSC is an invaluable resource, but has always been slow to search and is hard to navigate.
Recently with the search function going missing, I thought I'd share a little helper script I put together a while ago and have been polishing up today.
How it works
The script and required data is all embedded in a single HTML file.
The Good Scents Company pages are loaded in an iframe below the search input.
When you search, the script gives you a list of results from the locally stored index.
When you select a result, the script navigates the iframe (the embedded webpage) to the selected TGSC page.
How to use it
Benefits
Happy to answer any questions you may have.
Take it, use it and enjoy!
Recently with the search function going missing, I thought I'd share a little helper script I put together a while ago and have been polishing up today.
How it works
The script and required data is all embedded in a single HTML file.
The Good Scents Company pages are loaded in an iframe below the search input.
When you search, the script gives you a list of results from the locally stored index.
When you select a result, the script navigates the iframe (the embedded webpage) to the selected TGSC page.
How to use it
- Download the attached zip file and unzip the contained .html file somewhere handy.
- Open the HTML file in your browser. Double-click or right click it and choose Open With > Edge/Firefox/Chrome/Safari
- Type a search - words and numbers written in any order will work. Also search by CAS or EINECS.
- Search results are ordered by length, attempting to surface the closest names to your search.
- Use up and down arrows on your keyboard to select a search result and hit enter (or just click a search result) to navigate to the desired page.
- Press down arrow to show the same results again.
Benefits
- FAST results
- No installation
- No hosting required
- Cross-platform
- One-time download
- Uses the official, live TGSC website
- No need to jump between Google and TGSC
- Modern web browser
- Internet connection required for jQuery and Underscore libraries to download
- Internet connection required to navigate TGSC pages
- Known synonym inaccuracies are reflected here (amberXtreme).
- Only shows top 50 results, so be more specific if your desired material doesn't show up immediately.
- Not optimised for use on mobiles or other narrow screens. Designed for desktop use.
- Limited to fragrance materials - does not include solvents or cosmetics materials at this stage.
- June 2022 dataset, though I'm not sure there's many updates to TGSC these days anyway.
- The index takes in all Names, Synonyms and Product names from the "Suppliers" section, so there's a good chance you'll find what you're looking for.
- The script is offered as-is, and I believe it should be good enough for now. However, do reach out on this thread if you find bugs or have usability improvements or enhancement ideas etc.
- Zipped size: 770KB, Unzipped size: 3.6MB
- I'm just a hobbyist perfumery enthusiast and not associated with TGSC in any way.
- I don't mind if anyone takes this, copies or hosts this somewhere or modifies it and makes it better.
Happy to answer any questions you may have.
Take it, use it and enjoy!
Attachments
Last edited: