Closed BeepBot99 closed 9 months ago
If you use an iframe
, then you can load any page even if it's cross-origin, so that would probably fix issue https://github.com/Mesure73L/Mesures-Website/issues/37 too.
also just telling you now the question titles are h2 (##) so if you want a heading instead of bold for it you should use h3 (###) instead of h1 (#)
Nevermind, I have time right now to work on it
also just telling you now the question titles are h2 (##) so if you want a heading instead of bold for it you should use h3 (###) instead of h1 (#)
No, the question titles are h3 now (###) so i used h4 (####).
So are you just removing the <!DOCTYPE html>
declaration or are you making it an iframe
?
Note that if you make it an iframe
, then keep the <!DOCTYPE html>
declaration and also add a <head>
.
LOL, you assigned me and then realized that you are not a lazy person and assigned yourself instead. You might have also realized that you asked me to stop development soon.
So are you just removing the
<!DOCTYPE html>
declaration or are you making it aniframe
? Note that if you make it aniframe
, then keep the<!DOCTYPE html>
declaration and also add a<head>
.
iframe
LOL, you assigned me and then realized that you are not a lazy person and assigned yourself instead. You might have also realized that you asked me to stop development soon.
no, i just wanted to make it so im not bored 24/7
So are you just removing the
<!DOCTYPE html>
declaration or are you making it aniframe
? Note that if you make it aniframe
, then keep the<!DOCTYPE html>
declaration and also add a<head>
.iframe
Are you going to do it or should I? It will only take a few minutes to do.
I'll do it
OK.
@Mesure73L What if you put the challenge inside of a modal?
@Mesure73L What if you put the challenge inside of a modal?
No.
@BeepBot99 what do you think?
About the second pro: What does that mean? About the first con: No, there is no significant difference. About the second con: What are they?
Why do you think iframes make it slower? All it is doing is sending an XHTTP request, which is what you are already doing.
No, there is no significant difference.
Yes, there is. I have it open here temporarily
About the second con: What are they?
Challenge verifiers, idk some other stuff
Well it is slower because it's in GH codespaces. It won't actually be slower on the website. Also, GHCS is blocked in my school so I can't view it.
Well it is slower because it's in GH codespaces. It won't actually be slower on the website. Also, GHCS is blocked in my school so I can't view it.
... JSYK, I tried the old one before this and it was WAY FASTER. It being GHCS does not make a difference
It's not slower because of the information it's getting, it's slower because of how it's displaying that information.
An alternative is to say "Challenge is loading, please wait" or something like that while it's loading
@BeepBot99 I think the current method is better, I'll remove <!DOCTYPE html>
and <body>
elements if you think thats better
Moving to pull request, #39
What problem were you having?
IE less than version 11 will not load the page if there are two DOCTYPE declarations.
What solution would you like?
Remove the
<!DOCTYPE html>
declaration and the<body>
tag.What alternatives have you considered?
Using an
iframe
to display the challenges. That might actually be better in some ways.What are some pros and cons of doing this?
Pros
Cons
What page is this for?
twelve of code