Just modify your Inspector Console when needed
Instead of hardcoding anything in your website, most inspectors give you method to edit the console output locally.
For Chrome and Opera
Using inspector console you can right click on the
JQMIGRATE ... Warning and click 'Hide messages from jquery-migrate.js'.
This will add
'-url:<YOUR_WORDPRESS_URL>/wp-includes/js/jquery/jquery-migrate.js?ver=3.3.2' to the console filter. Effectively subtracting this url from the console output.
Note: if you copying the above to the filters change out
<YOUR_WORDPRESS_URL> for your wp url
This console filter is persistently applied to new tabs and windows as well.
For Safari you can create an inspector Response Local Override pretty easily.
Right click on the
jquery-migrate.js:line to the right of the console log outputs, then select 'Create Response Local Override'.
Which means you edit the file locally for dev purposes. So to remove these migrate notices add this to the top of the
jquery-migrate.js file in your Response Local Override.
* Response Local Override
jQuery.migrateMute = true;
Local overrides not supported currently. https://support.mozilla.org/en-US/questions/1331771
Tab/Window Based Filter Console output
-jquery-migrate.js into the 'Filter Output' bar and Jquery migrate notices will disappear even on reload of tab.
Caveat: this console filter will need to be applied each time you open a new firefox tab or window.
Hope this helps!