.pdf downloading failed after updating the browser.

I have use the following type of code in the google appscript for downloading the html table as .pdf format but after update the Firefox browser the file unable to downlo… (read more)

I have use the following type of code in the google appscript for downloading the html table as .pdf format but after update the Firefox browser the file unable to download but everything runs properly and the success message is appearing but the file is not downloading. Before, update the browser, the file was downloaded properly, please tell me how to resolve the problem. It's an URGENT. Please take necessary action at an earlier.

function exportToPDF() {

   try {
       const table = document.getElementById("dataTable");
       if (!table || table.classList.contains('hidden')) {
           showAlert("Nothing found to generate PDF!");
           return;
       }
       const originalScrollPosition = {
           body: document.body.scrollTop || document.documentElement.scrollTop
       };
       document.body.scrollTop = 0;
       document.documentElement.scrollTop = 0;
       const tableContainer = document.querySelector(".table-container");
       const cloneContainer = tableContainer.cloneNode(true);
       cloneContainer.style.overflow = "visible";
       cloneContainer.style.maxHeight = "unset";
       cloneContainer.classList.add("no-scrollbar");


       const clone = cloneContainer.querySelector("table");
       clone.style.fontSize = "12px";
       clone.style.borderCollapse = "collapse";
       clone.style.width = "100%";
       clone.querySelectorAll('th').forEach(th => {
           th.style.fontSize = "10.5px";
           th.style.padding = "1px";
           th.style.border = "1px solid black";
       });
       clone.querySelectorAll('td').forEach(td => {
           td.style.fontSize = "10.5px";
           td.style.padding = "1px";
           td.style.border = "1px solid black";
       });


       const now = new Date();
       const dateTime = now.toLocaleString("en-GB", {
           day: "2-digit", month: "2-digit", year: "numeric",
           hour: "2-digit", minute: "2-digit", second: "2-digit",
           hour12: true
       });
       const selectedYearValue = document.getElementById('yearSelect').value;


       const wrapper = document.createElement("div");
       wrapper.style.fontSize = "16px";
       wrapper.style.fontFamily = "Arial, sans-serif";
       wrapper.style.width = "100%";


       const header = document.createElement("div");
       header.style.textAlign = "center";
       header.innerHTML = `
Financial Year wise Report on BEUP || 17th Assembly (2021-2026)
Financial Year: ${selectedYearValue}
               Report as on: ${dateTime}
       `;
       wrapper.appendChild(header);
       wrapper.appendChild(cloneContainer);
       cloneContainer.style.marginTop = "2px";
       cloneContainer.style.paddingTop = "0px";


       const fileName = `MLA_wise_&_F-Y_wise_Report_as_on_${formatDateTimeForFilename()}.pdf`;


       document.body.style.overflow = 'hidden';
       const opt = {
           margin: [5, 5, 5, 5],
           filename: fileName,
           image: { type: 'jpeg', quality: 1 },
           html2canvas: {
               scale: 2,
               useCORS: true,
               scrollY: 0,
               windowHeight: document.documentElement.scrollHeight
           },
           jsPDF: {
               unit: 'mm',
               format: 'a4',
               orientation: 'landscape'
           }
       };
       html2pdf().set(opt).from(wrapper).save().then(() => {
           
           document.body.scrollTop = originalScrollPosition.body;
           document.documentElement.scrollTop = originalScrollPosition.body;
           document.body.style.overflow = ;

           showAlert("PDF file downloaded successfully!", 'success');
       });
   } catch (e) {
       console.error("Error generating PDF:", e);
       document.body.style.overflow = ;

       showAlert("PDF generation failed. Check console for details.", 'error');
   }

}

Asked by BEUP NADIA 2 minutes ago

Mozilla Firefox slow on Windows 11 24h2

Hello! After a clean install of Windows 11 24h2 Pro, Mozilla Firefox is unusable. It takes about 2 minutes to load a page which is abnormal. I remember I had the same iss… (read more)

Hello! After a clean install of Windows 11 24h2 Pro, Mozilla Firefox is unusable. It takes about 2 minutes to load a page which is abnormal. I remember I had the same issue when I first installed Windows 11 23H2 Pro and that was resolved somehow but it was 2 or 3 years ago and I've no idea what the solution was back then. I've tried some basic stuff including Test suggestion which of course didn't resolve anything as almost all of them are referring to cleaning cache, reinstall Firefox etc and it literally has nothing to do with my situation. Any solutions?

Asked by anwylyds 23 minutes ago

The browser becomes unresponsive when browsing video websites, win10, ASUS

When navigating through video websites, the browser often becomes unresponsive and refreshes the interface. When accessing other websites, the browser tabs frequently exp… (read more)

When navigating through video websites, the browser often becomes unresponsive and refreshes the interface. When accessing other websites, the browser tabs frequently experience crashes.

Details regarding the operating system, laptop model, and browser version are provided below, and the screenshot of unresponsive website has been attached with this, um email or message.


版本 Windows 10 专业工作站版 版本号 22H2 安装日期 ‎2023/‎5/‎25 OS 内部版本 19045.6036


设备名 - 处理器 13th Gen Intel(R) Core(TM) i9-13900H 2.60 GHz 机带 RAM 32.0 GB (31.6 GB 可用) 显卡 NVIDIA GeForce RTX 4060 Laptop GPU (8 GB), Intel(R) Iris(R) Xe Graphics (128 MB) 设备 ID - 产品 ID - 系统类型 64 位操作系统, 基于 x64 的处理器 笔和触控 为 10 触摸点提供笔和触控支持


Firefox版本: 139.0.4 (64 位)

Asked by CORE_denkou 2 hours ago

In Windows 10 how to I stop the Firefox Icon from showing recent downloads without having to delete everyone

In Windows 10 my Firefox Icon lists above the tasks all recent downloads which I do not want for security reasons. I have been deleting one at a time when shutting down.… (read more)

In Windows 10 my Firefox Icon lists above the tasks all recent downloads which I do not want for security reasons. I have been deleting one at a time when shutting down. I don't want them there at all. Please help. Thanks

Asked by DocGuin Wayne 4 hours ago

Something is wrong when trying to create a youtube channel using NVDA.

Hi, I was asked if I could contact you by google disability. I'm having a huge problem creating a channel on youtube with a live.co.uk account when using NVDA. I press … (read more)

Hi, I was asked if I could contact you by google disability.

I'm having a huge problem creating a channel on youtube with a live.co.uk account when using NVDA.

I press b until I hear account menu button button submenu, pres enter or space, then arrow down to create channel and press enter. Nothing seams to happen.

Google disability has shown me a couple of video or audio files proving that it can be done, they've even said that they tried creating an account with an outlook account, what live.co.uk is called now from my understanding.

SO I'm really confused as to why they can do it and I can't.

I can't show you with OBS because it messes with my screen readers speech so if you have another way I can show you; please let me know.

I've already tried the following, suggested by disability support: 1. uninstalling and reinstalling firefox.

2. making sure addons are disabled, the only one I left enabled was a volume booster but I doubt that would be the issue.

3. Setting NVDA back to factory settings and disabling all addons.

This has been confusing me on and off for up to a year now.

Asked by brad22 5 hours ago

No audio and video not playing in websites

Hi there, I am facing a strange issue in latest version of Firefox after Win10 Fresh Install. The Audio is not working. Audio Drivers are ok. Able to play audio in media … (read more)

Hi there, I am facing a strange issue in latest version of Firefox after Win10 Fresh Install. The Audio is not working. Audio Drivers are ok. Able to play audio in media player and other browsers but not in firefox. Please help. Tried all settings like sound mixer , FF reinstall, audio drivers update. But same issue. Even video not started playing in youtube etc.

Asked by Rahul Chopra 5 hours ago

New audio feature

It would be cool if you guys added a display to control the volume of a certain tab (like YouTube that people often use to play music while doing other things) AND add a … (read more)

It would be cool if you guys added a display to control the volume of a certain tab (like YouTube that people often use to play music while doing other things) AND add a feature that when a new media starts playing it stops the other one (like on Opera GX, the browser I came from). This would be really helpful and immersive since the user wouldn't have to deal with sounds collision and focus on his thing, not interrupting his flow to mute a music or a podcast or whatever. Also if you guys could add this feature, let the users choose between two options: pause (which completely pauses the background media) or fade-to-mute (which quickly fades the background audio until it is completely muted, but not paused. When the principal media stops playing, it will fade in again).

Asked by RiemOg 5 hours ago

HP Media Smart and PR_END_OF_FILE_ERROR

Hi, I'm trying to open pages in my old HP Mediasmart. I can access the NAS on my netwark but when I try to open most icon I get PR_END_OF_FILE_ERROR. I have my security … (read more)

Hi, I'm trying to open pages in my old HP Mediasmart. I can access the NAS on my netwark but when I try to open most icon I get PR_END_OF_FILE_ERROR.

I have my security software paused. Does this mean the NAS can't be used anymore?

I use Windows 10Pro, an Asus modem and I'm connect to the NAS by ethernet.

Of course happy to provide more details on request.

Cheers, John

Asked by johnrxx99 6 hours ago

Outlook calendar icon has disappeared after reinstall. Can't start Outlook Calendar.

Had to reinstall firefox after a power outage. Now running FF Version 140.0.2, 64-Bit. But I can't find Outlook Calendar. Calendar continues to operate as normal on my… (read more)

Had to reinstall firefox after a power outage. Now running FF Version 140.0.2, 64-Bit. But I can't find Outlook Calendar. Calendar continues to operate as normal on my iphone running Outlook for iOS. How can I get Outlook Calendar working again on this desktop. Thanks in advance.

Asked by umilik 7 hours ago

Can Not Disable HTTPS-Only Mode for a Local Device On My Network

I am trying to set up an MMDVM Pi-Star DMR Hotspot for Amateur Radio. The address for the device is http://pi-star. What do I need to do to get https-only mode 100% disab… (read more)

I am trying to set up an MMDVM Pi-Star DMR Hotspot for Amateur Radio. The address for the device is http://pi-star. What do I need to do to get https-only mode 100% disabled? The device that I am trying to set up is: Radioddity RHS-H1 MMDVM Hotspot | OLED Screen | Raspberry Pi-Zero W | Support P25/DMR/D-STAR/YSF/NXDN | UHF VHF WiFi Digital Voice Modem | 16G TF Card


I am using Firefox version 140.0.2 on PCLinucOS Debian (Bookworm) Edition.

Asked by dmarshall1951 7 hours ago

Sign in Email

Trying to sign in on AOL and getting error number 15, this is Mac pro book and FireFox browser, went to Safari everything worked on that site. Went to my Dell Desk top w… (read more)

Trying to sign in on AOL and getting error number 15, this is Mac pro book and FireFox browser, went to Safari everything worked on that site. Went to my Dell Desk top with FireFox and it worked ok that computer. Has anyone else had this problem.

Asked by lmtoland 9 hours ago