Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My description is not working :c
#1
Hello, friend! 

I came here with another request, I need your help! 

My desc used to look cute, Like this: 
[Image: iQiz7XU.png]

Big Grin

but now, it looks like this:
[Image: XjHVmn7.png]
:c

Apparently, when we introduced the new HTML codes to the game, we also mess a little bit with something, I believe it could be something related to CSS, or rather when you implement it to import this kind of desc, as the basics tag works fine.

Please, I beg you, bring it back, I need it.


NOTE: this is the code that i use for my desc 
Quote:<style> html {    height: 100%;    width: 100%;    margin: 0;    padding: 0; } body {    height: 100%;    width: 100%;    margin: 0;    padding: 0;    background: #000000;    color: white;    font-family: 'Train One', cursive;    font-size: 13px; } iframe{    position:absolute;    left:0;    top:0;    width:100%;    height:100%;    border:none;    padding:0;    margin:0; } </style> <iframe src="https://raihexai.neocities.org/idrispyraertas.html">



Thank Rai for making those desc, we miss you.
Reply
#2
this is only a hint since i don't really know if it was removed but this kind of desc relied on iframes to "pull the code from another website" and if its a recurrent problem with every single one of them, the code was disabled since it can be considered a security flaw

but i have no idea
Reply
#3
(07-02-2021, 07:16 PM)Math Wrote: this is only a hint since i don't really know if it was removed but this kind of desc relied on iframes to "pull the code from another website" and if its a recurrent problem with every single one of them, the code was disabled because it can be considered a security flaw

but i have no idea

This is why you should buy Math's splendiferrousleonine descriptions, they don't rely on cheap iframes and always work!
[Image: nR3lU0X.png][Image: unknown.png]
Vriska Wrote: yeah having an MCU loki icon is pretty cringe huh
Reply
#4
lets not build competition, rai's descs are awesome and utilize a different style!
Reply
#5
(07-02-2021, 07:16 PM)Math Wrote: this is only a hint since i don't really know if it was removed but this kind of desc relied on iframes to "pull the code from another website" and if its a recurrent problem with every single one of them, the code was disabled since it can be considered a security flaw

but i have no idea

It's not iframes.

It has something to do with the style tag.

Having even just a BLANK style tag causes the whole thing to not work, or at least the parts AFTER the style tag.

What I -SUSPECT- is happening, is the <style> tag is opening properly, but for some reason, the closing </style> isn't registering, so it thinks the entire content is inside of an unclosed <style> tag.


Try having the following as your profile
Code:
ABCD<style></style>EFGH
It will only show ABCD.
Reply
#6
To add to this, it seems to be an issue with the closing code tags not working correctly. I looked into the code a little and it seems that any closing tag has its left and right angle brackets replaced by their html entity counterparts.
So < changes to &lt; and > changes to &gt;.
Though, not sure why only closing tags are being affected.

Another interesting thing that seems to be happening is any styling within tags is being automatically placed within the <style> coding and removed from the tags themselves, or somethin' like that. A good addition as long as it doesn't mess with the original style tag.

So I played around with this logic and removed the <style></style> from the description code itself since the code seems to be creating it anyway (and that could actually be creating the problem when the <style></style> is already within the description), and it seems to be working now.

For now, replace the code above with:

Code:
<iframe src='https://raihexai.neocities.org/idrispyraertas.html' style='position:absolute;left:0;top:0;width:100%;height:100%;border:none;padding:0;margin:0;'>

This style should work. o7

PS: Math's descriptions are the prettiest thing, maybe one day we'll fuse to create the ultimate descriptions, aesthetic and code combined.

[Image: unknown.png]
Reply
#7
Fixed next update.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)