Since `getStylesheetURLs` depended on `getAllStylesheets`, most of this code now moves into the `styleSheetAdded` event handler.