Mar
9
2021

Add Middle Mouse Button support to AssetStore notifications panel (GreaseMonkey script)

AssetStore notifications window doesn’t allow you to open links into new tab (with middle mouse button).. for every link, you need to:
10 – Click your profile icon to open drop down menu
20 – Click notifications button
30 – Scroll down the list to find interesting item
40 – Click single item to navigate into that page (within current page)
50 – Goto 10 (do everything again for each item and wait page loads..)

Workaround:
use browser plugin to inject middle mouse button events into those items!

GreaseMonkey script:
https://gist.github.com/unitycoder/4f3d3cc53ce1130f4ed6c9a108877904

How it works:
– custom script is injected into asset store page
– it overrides XMLHttpRequest to catch notification list contents when it gets requested (this is required, since the div itself doesnt contain enough info to create store link)
– from received JSON data, notification item key image id and asset store item ID is parsed
– then on 2nd pass, notification list items are iterated through, each div gets middle mouse button click event added, with url to be opened in new tab for that asset


Leave a comment

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.