+
Skip to content

webext-core/proxy-service Is it compatible with iOS Safari? #109

@asasas234

Description

@asasas234

I am rewriting my plugin using wxt, and I have encountered 1 issue in iOS Safari.

My plugin will frequently send messages from the content script to the background script, but if the sending is too frequent over a certain period of time, the background script will be unloaded. I would like to know if the proxy-service will handle this issue?

My previous solution was to determine whether it was an iOS device. If it was, I wouldn't send a message but instead directly make a function call, which is equivalent to an HTTP request occurring within the content script. I want to know what is a simple solution to handle similar compatibility processing while using the proxy-service itself if the proxy-service doesn't handle this situation?

The address at the bottom is a post where other users encountered the same problem as me:

https://developer.apple.com/forums/thread/756309

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载