We can make Shipstations's "View address" dropdown automatically open with a bit of JavaScript.
There are browser extensions that you can type a bit of JS into, and they will run the JS every time that site is visited.
- https://chrome.google.com/webstore/detail/custom-javascript-for-web/ddbjnfjiigjmcpcpkmhogomapikjbjdk (This one syncs but just for Chrome. And maybe vivaldi.)
- https://chrome.google.com/webstore/detail/run-javascript/lmilalhkkdhfieeienjbiicclobibjao
- https://addons.mozilla.org/en-US/firefox/addon/javascript/
There are a bunch of extensions with varying levels of complexity.
To make the View-address dropdown auto-open...
- Install your browser extension of choice
- Navigate to https://ship6.shipstation.com/scan
- Paste the following code into the extension:
const auto_open_the_address_dropdown = "yes";
// Refresh the browser page if you change "no" or "yes" above
// DO NOT CHANGE ANYTHING BELOW HERE
const qry_all = s => Array.from(document.querySelectorAll(s))
if (auto_open_the_address_dropdown.toLowerCase() === 'yes') {
let prev_view_btn = null
setInterval(() => {
if (location.pathname !== '/scan') return;
const view_btn = qry_all('.dropdown-toggler')
.filter(e => e.textContent === 'View')[0]
if (!view_btn || view_btn === prev_view_btn) return;
(prev_view_btn = view_btn).click()
}, 100)
}