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
Related Posts
Leave a comment
Recent posts
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)