Editing Iframe with source - iframe

I am trying to make a chrome extension that edits a website but the part I want to edit is in a iframe with a src atribute. When I try and useiframe.contentWindow.documentI get the error "Uncaught DOMException: Blocked a frame with origin "the website" from accessing a cross-origin frame." someone pls help

Related

Console error: Mixed content, but I can't find the link in the code

I've been trying to switch a website to HTTPS, but I am blocked on a mixed content warning, where an image still has an normal HTTP URL. The problem is that I can't that image and neither can I find the code that references it.
This is my website: https://joday.ro/ro/
And this is the warning: Mixed Content: The page at 'https://joday.ro/ro/' was loaded over HTTPS, but requested an insecure image 'http://joday.ro/wp-content/uploads/2019/08/pexels-photo-417273.jpeg'. This content should also be served over HTTPS.
I couldn't find it using View page source, nor with the file manager. I'm guessing it might be part of a script, but I have no idea where that would be.
Any thoughts on how to find it?
Thanks!
your http photo is in the following css file:
https://joday.ro/wp-content/uploads/elementor/css/post-4137.css?ver=1567407956
in the .elementor-motion-effects-layer css class

Iframe code doesnt display website

When I put into html file this code, it does not show website.
<iframe src="https://www.ge-tracker.com/names/claws">
Can somebody help?
It is because your target site to put into the iframe does not allow itself to be loaded into an iframe that is hosted on a a different domain. It uses the X-Frame-Options http header to advise this to any browser that requests it.
You can examine this by looking at the error console in your chosen browser.
For instance, using Chrome, you will see:
Refused to display 'https://www.ge-tracker.com/names/claws' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN, SAMEORIGIN'.

The page at about:blank displayed insecure content

I got the following warning & error by the chrome browser while trying to access my webpage via https.
Warning: The page at about:blank displayed insecure content from http://subdomain.name.dns-stuff.com/go.php?sid=mix.
Error: Failed to load resource: the server responded with a status of 404 (Not Found)
Should i start worrying?
How can i find where this insecure content comes from?
UPDATE: A malicious IFRAME can source in content from web pages that attempt to fingerprint and exploit a browser vulnerability or client/OS vulnerability to cause a drive-by-download. Such IFRAMEs are typically invisible to users.
http://wam.dasient.com/wam/infection_library/917395c589f265fd940fc7cc9b0df341/dns-stuff
After contacting the hosting provider of mine they managed to find that the webpage was infected. Actually a part of the jquery.js was infected.
Lessons learned.
Never download the jquery libraries (or anything) from any place of the web, except the official ones.
Keep up to the latest versions via links to the official sites.
The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server, but the server could not find what was requested.
So when you try to access http://www.dns-stuff.com you will see that the domain is live and returning content however when you try http://www.dns-stuff.com/go.php?sid=mix you will see the 404 error which means the content should return by calling "go.php?sid=mix", is not available and error 404 shows this message. So you just need to know that the content is missing while the server is still responding.
Edited:
According to Google Error 404 is the second most occurring error!!

asp.net calender control

I have used calender control in asp.net2.0, which on clicking of a image is openining in other window... with javascrupt window.open form... problem is on local environment is working fine...
but when deployed on server.. after opening image it showing The resource cannot be found.
HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
/Calender.aspx
i mean when its working in local.. how come its not working on server..
As the HTTP 404 is saying: the resource has not been found at the location you are expecting it to be.
Check if the Calendar.aspx page is actually present on the server.
If it is, see why the link to that page is wrong in that environment.
If it isn't, check what has gone wrong with the deployment to the server

Error SiteMap

What is this error when I SiteMapPath and Configure whit siteMap.of course when I upload my website,I showing this error : "The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
"
What Do I do that SiteMap work correctly ?
Here is a critical question and something to try:
Does the website work on your development machine?
If it does work then check the url for the pages in the SiteMap. If the URL for the pages in the SiteMap reference a physical directory such as "C:\mySite\MyPage.aspx" then that is the most likely cause. You want to ensure that the URLs refernce the page location through a relative path like "~/MyPage.aspx".
If it does not work, then verify that there are no typing errors in the URLS. Once you getting it working on a local development environment using relative paths then the chance of it working on a remote machine should go up considerably.

Resources