What is document.domain? What does it do? Why is it bad? (Thread)
-
-
If you want to enable access to image data, you can set the appropriate CORS headers and let the other origin fetch the image.
Prikaži ovu nit -
This way, access is more controlled. You don't give DOM access to everything for all subdomains, all ports.
Prikaži ovu nit -
You can use Feature Policy to disable setting document.domain. Feature-Policy: document-domain 'none' or <iframe allow="document-domain 'none'">
Prikaži ovu nit -
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.