User:GDubuc (WMF)/common.js

importScript('User:DannyS712/Global_watchlist.js');

var observer = new PerformanceObserver( function ( list, observer ) {			console.log( list.getEntries );		} ); observer.observe( { entryTypes: [ 'layout-shift' ] } ); console.log( 'Layout shift monitored');