In the last month or so this new footer appears on the asset store page saying “Compare assets”. I guess it’s when you’re looking at an asset and Unity is offering a way to compare it to something else (e.g. two FPS kits). I find it very annoying because a) it takes up way too much space b) it appears on every page every time you visit an asset (logged in or not). Yes you can click the “X” to close it, but if you visit another asset page it’s back. Would rather have this either a) go away forever if you click the “X” or b) stick it on the sidebar or top menu or something. Maybe it’s just me but I find it an annoying UX in general. I might use it once in a blue moon, but not ever time I visit an asset page.
It’s not just you. I have been searching a way to get rid of this. There must be an option to disable this, but did not find it yet.
Tampermonkey fixes it (Chrome addon) - below is a Tampermonkey script I wrote that disables the asset compare bar:
// ==UserScript==
// @name Disable Stupid Asset Compare Bar
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Disable Stupid Asset Compare Bar
// @author Someone
// @match https://assetstore.unity.com/*
// @icon https://www.google.com/s2/favicons?domain=unity.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
debugger;
// set up the mutation observer
var observer = new MutationObserver(function (mutations, me) {
// `mutations` is an array of mutations that occurred
// `me` is the MutationObserver instance
var assetCompareBar = document.getElementsByClassName('uty-2-10-compBar-close');
if (assetCompareBar.length > 0) {
assetCompareBar[0].click();
me.disconnect(); // stop observing
return;
}
});
// start observing
observer.observe(document, {
childList: true,
subtree: true
});
})();