In Sources > Open Page (left sidebar) > Right click on the script to be ignored and select "Add script to ignore list". Debugger will omit this script from the call stack and gray out in the file tree.
Alternatively, you can also add a script to the ignore list from the CallStack pane by using the same option from the right click menu.
To ignore multiple scripts using a pattern, open Settings (F1) > Ignore List > Enable Ignore Listing. Click the "Add Pattern" button and enter the regex pattern matching the scripts to be ignored.
All the ignored scripts will be available under Customexclusionrules section in Ignore List.