This post is brought to you because of Kevin. Thanks Kevin!
Just read your great code search blog post @jacebenson... you probably already know about this, but the an-Utils browser extension has an “install-less” code search feature in beta. https://t.co/qXXadNxpDz
— 🍹🍸Kev 🍸🍹 (@milligna) November 30, 2019
Browser extensions are scary in my opinion when it comes to work. Some workplaces have rules (not really enforceable) where you are allowed to only download extensions used by hundreds of thousands of users.
There are legitimate reasons for this.
Now that I have that out of the way, let's talk about the extensions for Firefox and Chrome to help work in ServiceNow.
Extension | Firefox | Chrome | Github | Author |
---|---|---|---|---|
SN Utils | Yes1 | Yes2 | Yes3 | Arnoud Kooi |
SN Toolbelt | Yes4 | Yes5 | Yes6 | Mac Morning |
SwissNow | No | Yes7 | No | Łukasz Krzaczkowski |
Features we're comparing
There extensions have a lot of features so I'll be comparing all of them I can find;
Legend;
✅ = Yes
❌ = No
Feature | SN Toolbelt | SN Utils | SwissNow |
---|---|---|---|
Chrome | ✅ | ✅ | ✅ |
FireFox | ✅ | ✅ | ❌ |
Open Source | ✅ | ✅ | ❌ |
Tabs customizations | ✅ | ❌ | ❌ |
Docs and API searches | ✅ | ✅ | ❌ |
Node Switching | ✅ | ✅ | ✅ |
Links to many instances | ✅ | Configurable | ✅ |
Export Settings | ✅ | ❌ | ❌ |
Slash commands | ❌ | ✅ | ❌ |
Edit scripts in VS Code | ❌ | ✅ | ❌ |
Edit widgets in VS Code | ❌ | ✅ | ❌ |
Show technical names | ❌ | ✅ | ❌ |
Update set search | ❌ | ✅ | ❌ |
Updates List | ❌ | ✅ | ❌ |
Search tables | ❌ | ✅ | ❌ |
View Data | ❌ | ✅ | ❌ |
Search User by Id | ❌ | ✅ | ❌ |
Code Templates | ❌ | ✅ | ❌ |
CTRL-S / CMD-S | ❌ | ✅ | ❌ |
CTRL-V / CMD-V | ❌ | ✅ | ❌ |
Compare Records | ❌ | ❌ | ✅ |
SN Utils
Unfortunately I've never looked at this extension in depth until I started writing this post. With that being said, holy cow.
Arnoud, good job.
Some of the things I don't think should be in the extension but others, man I wish they were part of the platform.
I think the CTRL-S / CMD-S and CTRL-V / CMD-V should be something Servicenow Proper should add to the platform making them unneeded.
After comments added to this post it's clear to see slash commands can add any search including docs/api stuff. So I changed that to Sort of as they need to be configured.
SN Tool belt
I've been a fan of this repository for years now. It isn't the biggest project but was the only one I found to be open source when I first looked.
With that being said, it's all about giving you links to quickly jump around instances. I assume we all do that because I do that.
SwissNow
This is the only other extension I could find was this one.
https://servicenowgems.com/2017/09/11/swissnow-chrome-extension/
This one is also about jumping around instances and as such has some nice links around them including a very handy compare function, however, I can't find the source. So I downloaded the .crx
file and unzipped it. Looked around at the code for any odd calls but I didn't find any. So thats great.
Change Log
Date | Action |
---|---|
2019-12-01 | Changed SN Utils - Docs and API searches to yes (via /dev searchterm ) was no. |
2019-12-01 | Changed SN Utils - Links to many instances to configurable was no. |
Comments
arnoudkooi commented on Dec 1, 2019
Great article Jace!
In SNU some of the features are accessible via slashcommands, like:
/docs <query>
or/dev <query>
for docs and api search.
You (or I) can add a own search source like :jace;https://sn.jace.pro/docs/?q=$0 Search Jace's documentation
Via
/env acmedev
you can open current page in instance acmedev.
(I need to look at the nested function, creating a slashcommand/acmedev
doesn't work now)Most of the features are explained in the K19 labguide or the newer in my Tweets
And of course the videos!Regarding the risks of Extension, always good to be aware of this and make your own assessment. I'm keeping the permissions as tight as possible, resulting in rather low score at crxcavator.
The permissions I do ask are explained in the Privacy Disclaimer
jacebenson commented on Dec 1, 2019
Seems great, looking into this now makes me wish I did it more earlier.
macmorning commented on Jan 29, 2020
Hey Jace, thanks for the shout out.
As you can guess, with the Toolbelt extension I'm not trying to compete with Arnoud & team (tremendous work there!). It's mostly a navigation helper. I'm adding small features when I get the idea and the time, limiting them to what is doable without script injection, external framework nor update sets because we should avoid doing this on our clients [live] environments.
Anyhow, the project is on github and sndevs are most welcome to contribute with ideas, defects, and pull requests.