If we can work out a way to work around the exploits, it will be re-added :3
How was it exploited? What kind of codes exploited it? etc?
If we can work out a way to work around the exploits, it will be re-added :3
If we can work out a way to work around the exploits, it will be re-added :3
Hrm we used to have spoiler tags but people found ways to exploit them and cause trouble... I'm not sure if we'd want to add the spoiler tag back given what happened last time.
It's possible to do it with just CSS, preventing the need for JS. All you have to do is throw on a pound sign to the show spoiler link, the only thing is it would have to refresh the page. Not too much of a loss for the removal of exploitation. You could kind of exploit it, but it would only lead back to Sythe regardless.
Also, if you program in enough clauses, such as a validation for the show hash, you could restrict to only showing a valid spoiler.
Basically, the user would click the show link, the page would reload, go to the post which has the spoiler they want to view, php would then parse the link's hash to load the style for that spoiler.
It's a little more complicated, but pretty safe.
Oh god please don't give people ideas....
If we can work out a way to work around the exploits, it will be re-added :3
I love spoiler tags. I have absolutely no clue why, my computer doesn't lag at all loading pictures.. I just really like how they look
<div>
<div style="margin: 5px;">
<span style="font-weight:bold; font-size:0.7em;">{option}</b></span>
<input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; border-radius: 5px; padding: 6px;">
<div class="spoiler" style="display: none;">
{param}
</div>
</div>
</div>
It seems like everyone likes the idea, so it boils down to security. I'm not sure how the tags were exploited originally, so we're at a standstill. Unless someone in the know wants to clue us in (on here or by PM), maybe we could code it ourselves and try to exploit it.
Code:<div> <div style="margin: 5px;"> <span style="font-weight:bold; font-size:0.7em;">{option}</b></span> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button"> </div> <div class="alt2" style="border: 1px inset; border-radius: 5px; padding: 6px;"> <div class="spoiler" style="display: none;"> {param} </div> </div> </div>
^ First effort. See any potential issues?
It was malicious. People were sticking redirect tags in them and causing redirection off the site. It was a mess.
I'm not sure if you missed it, but Matthew stated on the front page they were removed because links were being implemented to the spoilers sending members offsite.
I meant that I'm not sure what method people were using to exploit them. Should've been more clear.