
Bookmark for switching URL
When developing multiple similar sites, I often stumble upon the case, when I want to open a specific link on different domain. Sometimes the same site/URL on local, staging, testing, production environments. Creating specific bookmarks to open the specific links is a bit of an overkill. Typing the same URL on the different environments is annoying. And time consuming.
So after some frustration, some googling I found a really crude javascript solution. And after sharing my “brilliant” find with my colleagues, it got quite optimized and we came with the following solution.
So, in order to open /user/logs on the URL you’ve currently opened – create a new bookmark, and in the URL section paste the following
javascript:location="/user/logs"
The link in the quotes can be anything. So this way, if you’ve opened example.com in your browser – when you click on the bookmark – it will redirect you to example.com/user/logs. Same will apply for any domain, you’ve opened in the browser. Enjoy!
Similar blog posts

Elasticsearch cheat sheet
Search Count AND query OR query Query with date range Multiple Queries Or a query inside a query Sort by a date containing field Query with regex Point In Time...
Odroid Sensors
Not long ago I bought an Odroid ARM based mini PC, and among many issues, turned out that the system uses some rather strange scheme for controlling the fan speed....
“Kubernetes network isn’t reliable”
Recently, while trying to figure out an extrelemly annoying problem I was having with Kubernetes – I stumbled upon this marvel of a github issue. So if you ever need...