Page 3 of 5
Re: Form web address
Posted: Tue Feb 15, 2022 10:27 am
by Duski
Yes, I saw SO.
A lot of study is needed for me to solve this problem, but I have not enough time. My wife is very seriously ill and I spend most of my time with her:-(:-(:-(
Thank you for all and for very prompt cooperation.
(I made a next donation to nuBuilder.)
Re: Form web address
Posted: Tue Feb 15, 2022 10:28 am
by kev1n
I am sorry to hear that and I wish her a speedy recovery!
And thanks a lot for your donation!
Re: Form web address
Posted: Tue Feb 15, 2022 10:34 am
by Duski
Probably she will die this week

Cancer ...
Re: Form web address
Posted: Tue Feb 15, 2022 1:24 pm
by kev1n
This is very sad to hear and I wish you the best in this difficult time.
Re: Form web address
Posted: Wed Feb 23, 2022 11:01 am
by Duski
Re: Form web address
Posted: Wed Feb 23, 2022 11:08 am
by kev1n
First link is ok
2nd not

: Uncaught DOMException: Blocked a frame with origin "
http://katalog.jecool.net" from accessing a cross-origin frame.
Re: Form web address
Posted: Wed Feb 23, 2022 11:13 am
by Duski
Thank you.
The second one includes an iframe ...
Code: Select all
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Knihy</title>
</head>
<body>
<h1>This is my book catalogue</h1>
<script src="jquery.js"></script>
<iframe
style="width:1600px;height:900px;border-style:none"
src="http://katalog.jecool.net/index.php?u=hocikto&p=4321&f=61f99555e7196f6">
</iframe>
</body>
</html>
Re: Form web address
Posted: Wed Feb 23, 2022 1:51 pm
by kev1n
Can you try replacing nuMainForm() in nuform.js with this one?
Code: Select all
function nuMainForm(){
var result = false;
if(opener){
try {
result = nuDocumentID == opener.nuDocumentID;
} catch ( error ) {
result = false;
}
}
try {
} catch (DOMException) {
return true;
}
return nuDocumentID == parent.nuDocumentID;
}
Re: Form web address
Posted: Thu Feb 24, 2022 12:06 pm
by Duski
Thank you, Kev.
1. My foreground color is gone, background color changed to black

(Vivaldi browser)
Snímka obrazovky 2022-02-24 115853.png
2. On the page with iFrame
http://nechsapaci.info/katalogy/knihy.html I see improvements - now there is white rectanglevisible , before there was nothing
Snímka obrazovky 2022-02-24 120401.png
3. But no data
Re: Form web address
Posted: Thu Feb 24, 2022 12:09 pm
by kev1n
Sorry, the function nuMainForm() is supposed to look like this:
Code: Select all
function nuMainForm(){
var result = false;
if(opener){
try {
result = nuDocumentID == opener.nuDocumentID;
} catch ( error ) {
result = false;
}
}
try {
return nuDocumentID == parent.nuDocumentID;
} catch (DOMException) {
return true;
}
}