Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Web application (RDP) - Error when we use the clipboard in FF

  • 1 trả lời
  • 1 gặp vấn đề này
  • 18 lượt xem
  • Trả lời mới nhất được viết bởi Terry

more options

Dear Mozilla Community,

Our company use a web application whiches we can connect to customer servers via RDP (Remote Desktop Protocol). The web application uses Spark Gateway. The problem is that if we use the web application with Firefox, we can't use clipboard function.

The error codes in the browser console:

Uncaught DOMException: A network error occurred.

  httpGet https://application.ourcompany.com/hosts/gateway/html/hi5core_min.js:68
  getClipData https://application.ourcompany.com/hosts/gateway/html/rdp_min.js:146
  onCopy https://application.ourcompany.com/hosts/gateway/html/surface_min.js:120

Content Security Policy: The page’s settings blocked the loading of a resource at https://application.ourcompany.com:8384/CLIP?s=ca5311bl-d6bs-67f1c-w501-13dwk0ca54c1&t=2676589901112&type=copy (“connect-src”).

If we use the application with different browser (like Edge or Chrome), we can enable the clipboard on the browser. If we enable the clipboard access for the site (https://application.ourcompany.com), the copy/paste function works well. The problem is that we cannot find enable clipboard feature in Firefox.

My quiestion is, how can we enable the clipboard in Firefox for our (webapplication) site?

Thank you so much for the help!

Best Regards Gabor

Dear Mozilla Community, Our company use a web application whiches we can connect to customer servers via RDP (Remote Desktop Protocol). The web application uses Spark Gateway. The problem is that if we use the web application with Firefox, we can't use clipboard function. The error codes in the browser console: Uncaught DOMException: A network error occurred. httpGet https://application.ourcompany.com/hosts/gateway/html/hi5core_min.js:68 getClipData https://application.ourcompany.com/hosts/gateway/html/rdp_min.js:146 onCopy https://application.ourcompany.com/hosts/gateway/html/surface_min.js:120 Content Security Policy: The page’s settings blocked the loading of a resource at https://application.ourcompany.com:8384/CLIP?s=ca5311bl-d6bs-67f1c-w501-13dwk0ca54c1&t=2676589901112&type=copy (“connect-src”). If we use the application with different browser (like Edge or Chrome), we can enable the clipboard on the browser. If we enable the clipboard access for the site (https://application.ourcompany.com), the copy/paste function works well. The problem is that we cannot find enable clipboard feature in Firefox. My quiestion is, how can we enable the clipboard in Firefox for our (webapplication) site? Thank you so much for the help! Best Regards Gabor
Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (1)

more options

There is a preference in about:config but its default value is true so perhaps an add-on or some special configuration file changed it. dom.event.clipboardevents.enabled The error message suggests that a site setting is preventing the clipboard from working.