[Webkit-unassigned] [Bug 263818] New: declarativeNetRequest modifyHeaders for response should be allowed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 27 19:09:50 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=263818

            Bug ID: 263818
           Summary: declarativeNetRequest modifyHeaders for response
                    should be allowed
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Extensions
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: guivr2011 at gmail.com
                CC: timothy at apple.com, webkit-bug-importer at group.apple.com

I'm trying to build a "Responsive Viewer" extension for Safari with a Safari Web Extension.

The extension loads a page into an iframe so that the user can resize and check how the page is responsive.

Some websites won't load in iframes.

In Chrome, I can use declarativeNetRequest to modify the response headers and remove the "frame-options" header that blocks the page from being loaded into an iframe.

Loading the page into an iframe is the only way a "Responsive Viewer" extension could work.

The extension already has all the permissions it needs from the user, and declarativeNetRequest is the safest way.

Please let extensions modify headers from the response as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231028/f624a74c/attachment.htm>


More information about the webkit-unassigned mailing list