3 ms·
good catch. just on a quick glance a few lines above might possibly be a good vector to test for ads to get around autoplay sound restrictions. make a domain e
by dillondoyle 6y ago
good catch.
just on a quick glance a few lines above might possibly be a good vector to test for ads to get around autoplay sound restrictions. make a domain ending with somethingnetflix.com, iframe it, and maybe figure out if the second link below has a class that allows override to allow autoplay sound without user interaction to something like kWKWebsiteAutoplayPolicyAllow with sound on.
https://github.com/WebKit/WebKit/blob/f43587ec2416b86eecef5091fe028a08e168f976/Source/WebCore/page/Quirks.cpp#L136 https://github.com/WebKit/WebKit/blob/f43587ec2416b86eecef50...
https://github.com/WebKit/WebKit/blob/88278b55563e5ccdc0b3419c6c391c3becc19e40/Source/WebKit/UIProcess/API/C/WKWebsitePolicies.cpp#L82 https://github.com/WebKit/WebKit/blob/88278b55563e5ccdc0b341...