23
2018
Browser Plugin: Stay in Old Asset Store
Small snippet to use with GreaseMonkey-plugin,
will stop old & short url asset store links from re-directing into that horrible new asset store!
*New v2: Now automatically redirects from new horrible store to good old store AND keeps the asset page!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Force Old Unity Asset Store | |
// @version 2 | |
// @include https://www.assetstore.unity3d.com/#!/content/* | |
// @include https://assetstore.unity.com/packages/* | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== | |
// https://unitycoder.com/blog/2018/09/23/browser-plugin-stay-in-old-asset-store/ | |
if (window.location.toString().indexOf("https://assetstore.unity.com/packages/")>-1) | |
{ | |
// arriving to new store, jump to old.. FAST! | |
var ids=window.location.toString().split('-'); | |
if (ids!=null && ids.length>0) | |
{ | |
// take asset number | |
window.location = "https://www.assetstore.unity3d.com/en/?stay#!/content/"+ids[ids.length-1]; | |
} | |
}else{ | |
// we are already in old store | |
window.location.search = "?stay-a-while…stay-forever!"; | |
} |
GreaseMonkey plugin for firefox: https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/
Forum post: https://forum.unity.com/threads/browser-plugin-always-stay-in-the-old-asset-store.559633/
Related Posts
Leave a comment
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- 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
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on