I am writing a chrome plug-in, and there is a need to use JS to export the current page to PDF and save it locally. The export PDF style is required to be retained, with optional text and clickable links, which is actually the same as the PDF function exported using the chrome print function, but I need to use the code to automatically complete this function. Ask God for advice on how to do it