Questions tagged [cross-domain]
Cross-domain refers to web applications that communicate outside of their hosting domain / web server. This can be in the form of network requests to other servers or sharing data with DOM components served from different domains composed on the same web page.
6,360
questions
0
votes
0
answers
5
views
Get specific content from other website if i am allowed to access
Is it possible to access part of other website that would allow me to access by Ajax load ?
I'm currently stuck here with "Content blocker prevented frame displaying" with this script:
$.get(...
0
votes
1
answer
16
views
React app hosted on IPFS gives "default-src 'self'". 'connect-src' was not explicitly set, so 'default-src' is used as a fallback error
I have a react app here https://github.com/ChristianOConnor/spheron-react-api-stack. I'm trying to host it on IPFS. I deployed this with 2 main steps: 1) cd frontend, npm run build and 2) upload the ...
0
votes
1
answer
22
views
I need to measure traffic from root domain to subdomain as Refferal - GA4
I need help with the following case. My client has a website where the catalog and product informations is on the main domain https://fixed.zone from the product cards links to the eshop which is on ...
0
votes
0
answers
21
views
How to prevent Chrome block cross domain cookies assigment?
I had this issue for more than 3 months and didn't get an answer that could help me.
The issue:
I'm integrating two applications. The A application has an HTTPS method to authenticate and will assign ...
0
votes
0
answers
13
views
Change the default domain temporarily in cypress
I'm working with cypress to test a system where each service is in a different container and needs to be accessed via its IP address.
E.g http://10.30.0.1/home, http://10.30.0.2/cart, etc
I tried the ...
0
votes
0
answers
20
views
ngx-auth-firebaseui-avatar get googleusercontent returns 403
When using ngx-auth-firebaseui running from localhost and the user is logged in using Google provider, ngx-auth-firebaseui-avatar is not showing the user photo. Request to googleusercontent returns ...
1
vote
0
answers
19
views
GCP How do I restrict requests to my API Gateway to only being accepted from 1 domain for security concerns?
I have a GCP Cloud Function in a web app. I initially ran this by requiring authentication through a service account. I ran my app locally by authenticating with my service account's json file ...
-1
votes
0
answers
25
views
Enable access to cross-origin frame
I'm working on arranging my tabs spatially.
Early prototype: https://3axis.io/spatial-net.html
I want to be able to pop in and out of frames with the shift key. Or if I click a YT link in the twitter ...
0
votes
2
answers
36
views
I need to save an html file so it can be used in another window
I have a form with 5 inputs in a file called upload.html. with localstorage, i was able to get the input values and utilize them in another file called result.html which was empty initially.
now, i ...
0
votes
0
answers
19
views
How to set-up the same stream for cross domain tracking (GA4) in two different GTM container
I'd like to set-up cross domain tracking between two domains (let's say website A and website B).
Each website involved has its' own GTM installed and configured a bunch of custom events.
Each ...
0
votes
0
answers
25
views
Safari throws cross domain errors when an iframe is cross domain and tall enough
I have a case where I need to show an iframe cross domains. In development, I have a site hosted at http://localhost:3000 that have an iframe showing http://localhost:3001. For example, with this ...
0
votes
0
answers
28
views
How can I get this JavaScript to correctly decorate button links on Unbounced landing pages for Google's Cross-Domain Measurement?
I am using a service called Unbounced for my website landing pages. They wrap the CTA buttons on the landing pages, making them indirectly go to their destination.
For example, my CTA button first ...
0
votes
2
answers
54
views
How to save youtube thumbnails on hdd with javascript?
I'm trying to write a Violentmonkey userscript to save youtube thumbnails on my harddrive, but can't get it to work. I think the fact that I'm trying to save images from ytimg.com while being on ...
0
votes
0
answers
15
views
CORS to server from linux cli and from browser [duplicate]
I am running a cross origin request from an index.html script tag. I receive a CORS error because
Reason: CORS header 'Access-Control-Allow-Origin' missing
I've read about CORS quite a bit. I am ...
0
votes
0
answers
21
views
How to implement maximum mean discrepancy in CNN architecture for domain adaptation?
I want to know with code, How to implement maximum mean discrepancy in CNN architecture for domain adaptation?
I would like to implement domain adaptation for 1D CNN audio files as shown in the link
...
0
votes
0
answers
18
views
cross-origin resource error only on production server [duplicate]
I'm trying to do a call to a service from an angular site but for some reason I'm getting an anoying CORS error. It's weird because I can do the call from my local machine, but when I deploy the code ...
0
votes
0
answers
22
views
I'm trying to load react + typescript app component (which is running locally) in angular app's iframe. but i'm getting CORS realted error
react app running on http://localhost:4200/inbox
angular app running on http://localhost:3000/login
<div class="wrapper-desk">
<iframe (load)="isPageLoad=false" height=...
0
votes
0
answers
52
views
Set-cookie header not available in javascript even if SameSite=None is set
I am trying to authenticate to a Drupal backend from a Cordova app. I have installed Cookie Same Site support in order to have SameSite=None in the Set-Cookie header. From my app I do the following:
...
0
votes
0
answers
25
views
Is it posible to use httponly cookie from api.domain.com in SPA from domain.com?
I have an SPA on domain.com.
I have an API on api.domain.com.
User from SPA sending request (with login and password) to API.
Everything fine - he gets httponly cookie for api.domain.com ans
...
0
votes
0
answers
86
views
IIS Redirect in Localhost
I have 2 localhost sites with dummy index page in each site.
URL's are : www.testsite1.com:5005 and www.testsite2.com:5006
I am trying to redirect when I hit www.testsite1.com:5005 to "www....
0
votes
0
answers
25
views
http set-cookie doesn't work cross-origin
I am trying to set a signed cookie on an HTTPS request to a backend server that is on a different domain than the frontend receiving the response. However, after including every 'required' condition ...
0
votes
0
answers
27
views
CORB is blocking image rendering of an image when requested from another domain I own
CORB is blocking image rendering of an image when requested from another domain I own.
The image request is through a REST api that is proxying the image since it's actual source is in AWS S3.
Url ...
0
votes
0
answers
50
views
Why isn't my _gl Google Analytics 4 cross-domain measurement cookie being passed?
I have a Squarespace website with a Booqable checkout which is embedded using JavaScript.
I want Google Analytics 4 to maintain the same cookie for a customer when they enter on Squarespace, then ...
0
votes
1
answer
28
views
Drift: Capture textarea events of Iframe for drift chatbot
I am trying to capture value entered in textarea of drift chat bot. Is this possible?
Have checked the official website for any solution but drift does not provide any way to access the value sent by ...
0
votes
1
answer
40
views
How Can I Pass a dataLayer Variable From One Domain to Another Domain Using GTM
How can I pass a dataLayer variable from one domain to another domain using Google Tag Manager? Both domains use the same GTM container. Thank you.
0
votes
0
answers
87
views
Vite dev proxy 'new URL(url, import.meta.url)'
Good day!
I have recently switched from laravel-max (webpack) to laravel-vite (vite).
Web page (index.php) is served from php server and vite hmr separately for js dev server.
I wanted to convert ...
0
votes
0
answers
14
views
Heterogeneity order parameter(HOP)
I work on MD Simulation of ionic liquids. I want to calculate the heterogeneity order parameter(HOP), but I don't know which software and method I should do. in the Travis manual, the order parameter ...
0
votes
0
answers
53
views
Google Analytics Cross Domain and UTM Parameter Tracking
I have a client who run Facebook Ads with UTM parameters attached to the CTA link URLs. These link to the client's consumer site (Site A) then the user travels to the client's online ordering platform ...
0
votes
0
answers
197
views
How to allow cross-origin iframe access for WebKit/Playwright with Cypress?
do you by any chance know if there is an equivalent to chromeWebSecurity: false for WebKit/Playwright to be able to access a cross-origin iframe (Stripe credit card)?
I use this solution to access ...
0
votes
0
answers
48
views
Chrome Extension: Accessing a parent document from an iframe in a results in DOMException
Scenario
I am developing a content script chrome extension that is embedded on the page as an iFrame in order to isolate styling for the extension.
The extension needs to read the HTML of the parent ...
0
votes
0
answers
71
views
Envoy - Send Requests from Browser to Internet And Receive Response
I would like to use envoy to proxy requests using a certain url path to the internet, and receive the results as shown in the diagram below:
Here's the request I'm sending from my browser to envoy
...
1
vote
0
answers
78
views
Chrome extension: How to manipulate iframe contents from a different subdomain? (CORS)
I am developing a browser extension that I want to be able to detect the active element within an iframe and paste content in to it using a JavaScript function (held in a content-script of the ...
0
votes
0
answers
48
views
Getting Cross Origin error when trying to scrape data
I'm trying to scrape some data. That page is secured with Google Captcha but I'm manually passing that Captcha, and on the next page when I'm trying to scrape the data at the moment I'm getting cross ...
0
votes
0
answers
12
views
New domain for login for SSO (Single Sign-On)?
I saw many examples of SSO that has different domains such as domain1.com, domain2.com and one domain such as sso.com for log-in. My question is why they are using a new domain (sso.com) for log-in, ...
0
votes
1
answer
18
views
How to use particular room data on crossdomain server using socket.io?
I'm using socket io to communicate the cross domain server and also passing the particular data, but i want to use the data on particular room on crossdomain
Here is my code
server side
io.emit('...
0
votes
0
answers
47
views
How to link custom domain name with custom URL?
I have a LARAVEL eCommerce website with multi-vendors, witch each vendor has a shop and each shop has a custom URL, for example, https://example.com/shop1 https://example.com/shop2,
and I want to ...
1
vote
0
answers
35
views
I am doing cross domain tracking with ga4 for a hotel company but cant get the cookies through
The company's website has the first domain for the browsing and room selecting, when they click book now it takes them to the booking engine ( the second domain) and to bring the cookies over from one ...
0
votes
1
answer
29
views
Possible to open window to external website, and close after X minutes?
I've been bouncing an idea around in my head but I'm not sure it's possible. Thought I'd throw it out to the world and see what comes back.
I'm wondering if it's possible to, from website A that I ...
0
votes
0
answers
11
views
Blocked a frame with origin "https://example.com" from accessing a frame with origin "https://www.herokucdn.com". Protocols, domains, and ports [duplicate]
I have looked many places for this specific problem, but most of the answers are relatively old and don't seem to deal specifically with my issue. I am building a react app using create-react-app. The ...
0
votes
0
answers
22
views
jQuery ajax crossdomain for Google fonts not working
I been trying to get the CSS result content from the following link.
https://fonts.googleapis.com/css?&family=Cabin+Sketch:300,300i,400,400i,600,600i,700,700i,800,800i
I tried multiple methods ...
0
votes
0
answers
116
views
Workaround for third party cookie from server side
We have a customer having their own client UI application (www.myclient.com). When they make an API call to our server (www.iamserver.com), we set cookies (Set-Cookie header) and send back in the ...
0
votes
3
answers
436
views
React Iframe: Accessing localhost with different port numbers results in cross origin security error
I am working on setting iframe and stuck with local testing. I have my app running on localhost:3000
I have setup Iframe in my app with src url set to localhost:1234 for local testing. I was hoping ...
1
vote
0
answers
64
views
Cookie is not send with request to another sub-domain
Current set up:
https://abc.domain.com
https://api.domain.com
Backend
https://abc.domain.com exposes cookie like:
var responseCookie = ResponseCookie.from("xyzname", "xyzvalue")
...
0
votes
0
answers
41
views
How to implement an API Referrer list restriction?
I'm developing an API service and I would like to allow the users to restrict access of their tokens by domain, so an API key can only be used from one site/domain/host (it could be a server calling ...
0
votes
0
answers
23
views
.htaccess security headers(mod_headers) not work with mod_rewrite
I have two websites.
https://www.siteone.com.au
http://sub.siteone.com.au - buid with unbounce.com
root of the www.siteone.com.au has .htaccess file and content as following:
<IfModule ...
0
votes
2
answers
79
views
How to set a cookie through CORS
I've reviewed other related posts and none are working for me. I am using vue on the client-side and node on the server-side.
I've tried the suggested method in other posts of using the cors library ...
0
votes
0
answers
32
views
How to gather Win32_Group information from a computer remotely
I have this code
// EXTERNAL MACHINE SCANNING START
ConnectionOptions connectionOptions = new();
connectionOptions.SecurePassword = dataContext.Cred.SecurePassword;
connectionOptions.Username = ...
0
votes
0
answers
42
views
unable to set cookies while re-directing back to app.domain from oAuth.domain in cypress
I am setting up E2E test for my app which uses oAuth for authentication.
cy.visit('app.domain.com).
cy.origin("auth.domain.com",()=>{
cy.get('user').type('user');
cy.get('pass')....
1
vote
0
answers
46
views
How to use the server stored socket I'd on Cross domain client socket?
I'm using socket.io for sending the data to cross domain, but the cross domain socket.id gives the unique id for the socket(client) , I want to use the particular server socket I'd on client side at ...
0
votes
1
answer
85
views
Detect neterror of iframe (external site)
There was a problem that the external site that I had to bring as an iframe did not appear with a probability of about 5%. (If you click again, it will appear normally)
I want to retry if there is an ...