$(document).ready(function(){var currentUrl=window.location.href;$('a').each(function(){var href=$(this).attr('href');if(href&&href.indexOf('/u')!==-1&¤tUrl.indexOf('/u')===-1){$(this).attr('href',href+'awards')}})});if(window.location.href==="https://www.forumnsanimes.com/post?f=32&mode=newtopic"){(function($){'use strict';var tags=[{tag:'Bleach',background:'#F4A460'},{tag:'Fairy Tail',background:'#8B008B'},{tag:'Death Note',background:'#000'},{tag:'Cavaleiros do Zodiaco/Saint Seiya',background:'#000080'},{tag:'Shingeki no Kyojin/Attack on Titan',background:'#8B4513'},{tag:'Hunter x Hunter',background:'#2F4F4F'},{tag:'One Punch Man',background:'#DAA520'},{tag:'Jojos Bizarre Adventure',background:'#4B0082'},{tag:'Pokemon',background:'#CF0000'}];$(function(){var counter=1;if(location.pathname==='/post'&&$('form input[name="subject"]').length>0){var $textarea=$('#textarea_content');var $title=$('form [name="subject"]');var $zone=$(['
',].join('\n')).prependTo($textarea);var $appendZone=$zone.find('.fa-icon-selector-inner');$.each(tags,function(index,tag){$(['',' ',' ','
',].join('\n')).appendTo($appendZone);counter++});if(/^\[.*\]/gi.test($title.val())){$title.val().replace(/^\[(.*)\]/gi,function(find,match){$('[data-tag="'+match+'"]').prop('checked',true)})}$zone.find('input.select-tag-input').on('focus',function(){setPrefix($(this).attr('data-tag'))});var setPrefix=function(prefix){if(/^\[.*\]/gi.test($title.val())){$title.val($title.val().replace(/^\[.*\]/gi,function(){return'['+prefix+']'}));return}$title.val('['+prefix+'] '+$title.val().trim())}}var $link=$('a[href^="/t"]');$link.each(function(){var $this=$(this);$.each(tags,function(index,tag){var regex=new RegExp('\\['+tag.tag+'\\]','gim');var text=$this.text();if(!regex.test(text)){return}$this.addClass('fa-tagged-link');$this.text(text.trim().replace(regex,''));$this.prepend(''+tag.tag+'')})});var styles=['.fa-icon-selector-inner strong {',' display: block;',' margin-bottom: 4px;',' font-weight: bold;','}','','.fa-icon-selector .fa-tag-form-group {',' display: inline-block;',' margin-right: 15px;',' margin-top: 4px;','}','','.fa-tagged-link {',' text-decoration: none !important;','}','','.fa-tagged-link:hover {',' color: #f73 !important;',' text-decoration: none !important;','}','','span.fa-topic-tag {',' color: #fff;',' background-color: #39c;',' padding: 1px 5px;',' border-radius: 3px;',' margin-right: 4px;',' display: inline;',' text-decoration: none!important','}'].join('\n');$([''].join('\n')).appendTo('head')})}(jQuery))}if(window.location.href==="https://www.forumnsanimes.com/f32-animes-e-mangas"){(function($){'use strict';var tags=[{tag:'Bleach',background:'#F4A460'},{tag:'Fairy Tail',background:'#8B008B'},{tag:'Death Note',background:'#000'},{tag:'Cavaleiros do Zodiaco/Saint Seiya',background:'#000080'},{tag:'Shingeki no Kyojin/Attack on Titan',background:'#8B4513'},{tag:'Hunter x Hunter',background:'#2F4F4F'},{tag:'One Punch Man',background:'#DAA520'},{tag:'Jojos Bizarre Adventure',background:'#4B0082'},{tag:'Pokemon',background:'#CF0000'}];$(function(){var counter=1;if(location.pathname==='/post'&&$('form input[name="subject"]').length>0){var $textarea=$('#textarea_content');var $title=$('form [name="subject"]');var $zone=$(['',].join('\n')).prependTo($textarea);var $appendZone=$zone.find('.fa-icon-selector-inner');$.each(tags,function(index,tag){$(['',' ',' ','
',].join('\n')).appendTo($appendZone);counter++});if(/^\[.*\]/gi.test($title.val())){$title.val().replace(/^\[(.*)\]/gi,function(find,match){$('[data-tag="'+match+'"]').prop('checked',true)})}$zone.find('input.select-tag-input').on('focus',function(){setPrefix($(this).attr('data-tag'))});var setPrefix=function(prefix){if(/^\[.*\]/gi.test($title.val())){$title.val($title.val().replace(/^\[.*\]/gi,function(){return'['+prefix+']'}));return}$title.val('['+prefix+'] '+$title.val().trim())}}var $link=$('a[href^="/t"]');$link.each(function(){var $this=$(this);$.each(tags,function(index,tag){var regex=new RegExp('\\['+tag.tag+'\\]','gim');var text=$this.text();if(!regex.test(text)){return}$this.addClass('fa-tagged-link');$this.text(text.trim().replace(regex,''));$this.prepend(''+tag.tag+'')})});var styles=['.fa-icon-selector-inner strong {',' display: block;',' margin-bottom: 4px;',' font-weight: bold;','}','','.fa-icon-selector .fa-tag-form-group {',' display: inline-block;',' margin-right: 15px;',' margin-top: 4px;','}','','.fa-tagged-link {',' text-decoration: none !important;','}','','.fa-tagged-link:hover {',' color: #f73 !important;',' text-decoration: none !important;','}','','span.fa-topic-tag {',' color: #fff;',' background-color: #39c;',' padding: 1px 5px;',' border-radius: 3px;',' margin-right: 4px;',' display: inline;',' text-decoration: none!important','}'].join('\n');$([''].join('\n')).appendTo('head')})}(jQuery))}if(window.location.href==="https://www.forumnsanimes.com/post?f=30&mode=newtopic"||window.location.href==="https://www.forumnsanimes.com/post?f=68&mode=newtopic"||window.location.href==="https://www.forumnsanimes.com/post?f=205&mode=newtopic"||window.location.href==="https://www.forumnsanimes.com/post?f=46&mode=newtopic"){(function($){'use strict';var tags=[{tag:'Discussão',background:'#1C1C1C'},{tag:'Dúvida',background:'#3CB371'},{tag:'Ranking',background:'#DC143C'},{tag:'Teoria',background:'#4169E1'},{tag:'Novidade/Notícia',background:'#FA8072'},{tag:'Homenagem',background:'#C71585'},{tag:'Argumentação',background:'#778899'}];$(function(){var counter=1;if(location.pathname==='/post'&&$('form input[name="subject"]').length>0){var $textarea=$('#textarea_content');var $title=$('form [name="subject"]');var $zone=$(['',].join('\n')).prependTo($textarea);var $appendZone=$zone.find('.fa-icon-selector-inner');$.each(tags,function(index,tag){$(['',' ',' ','
',].join('\n')).appendTo($appendZone);counter++});if(/^\[.*\]/gi.test($title.val())){$title.val().replace(/^\[(.*)\]/gi,function(find,match){$('[data-tag="'+match+'"]').prop('checked',true)})}$zone.find('input.select-tag-input').on('focus',function(){setPrefix($(this).attr('data-tag'))});var setPrefix=function(prefix){if(/^\[.*\]/gi.test($title.val())){$title.val($title.val().replace(/^\[.*\]/gi,function(){return'['+prefix+']'}));return}$title.val('['+prefix+'] '+$title.val().trim())}}var $link=$('a[href^="/t"]');$link.each(function(){var $this=$(this);$.each(tags,function(index,tag){var regex=new RegExp('\\['+tag.tag+'\\]','gim');var text=$this.text();if(!regex.test(text)){return}$this.addClass('fa-tagged-link');$this.text(text.trim().replace(regex,''));$this.prepend(''+tag.tag+'')})});var styles=['.fa-icon-selector-inner strong {',' display: block;',' margin-bottom: 4px;',' font-weight: bold;','}','','.fa-icon-selector .fa-tag-form-group {',' display: inline-block;',' margin-right: 15px;',' margin-top: 4px;','}','','.fa-tagged-link {',' text-decoration: none !important;','}','','.fa-tagged-link:hover {',' color: #f73 !important;',' text-decoration: none !important;','}','','span.fa-topic-tag {',' color: #fff;',' background-color: #39c;',' padding: 1px 5px;',' border-radius: 3px;',' margin-right: 4px;',' display: inline;',' text-decoration: none!important','}'].join('\n');$([''].join('\n')).appendTo('head')})}(jQuery))}if(window.location.href.startsWith("https://www.forumnsanimes.com/f30")){(function($){'use strict';var tags=[{tag:'Discussão',background:'#1C1C1C'},{tag:'Dúvida',background:'#3CB371'},{tag:'Ranking',background:'#DC143C'},{tag:'Teoria',background:'#4169E1'},{tag:'Novidade/Notícia',background:'#FA8072'},{tag:'Homenagem',background:'#C71585'},{tag:'Argumentação',background:'#778899'}];$(function(){var counter=1;if(location.pathname==='/post'&&$('form input[name="subject"]').length>0){var $textarea=$('#textarea_content');var $title=$('form [name="subject"]');var $zone=$(['',].join('\n')).prependTo($textarea);var $appendZone=$zone.find('.fa-icon-selector-inner');$.each(tags,function(index,tag){$(['',' ',' ','
',].join('\n')).appendTo($appendZone);counter++});if(/^\[.*\]/gi.test($title.val())){$title.val().replace(/^\[(.*)\]/gi,function(find,match){$('[data-tag="'+match+'"]').prop('checked',true)})}$zone.find('input.select-tag-input').on('focus',function(){setPrefix($(this).attr('data-tag'))});var setPrefix=function(prefix){if(/^\[.*\]/gi.test($title.val())){$title.val($title.val().replace(/^\[.*\]/gi,function(){return'['+prefix+']'}));return}$title.val('['+prefix+'] '+$title.val().trim())}}var $link=$('a[href^="/t"]');$link.each(function(){var $this=$(this);$.each(tags,function(index,tag){var regex=new RegExp('\\['+tag.tag+'\\]','gim');var text=$this.text();if(!regex.test(text)){return}$this.addClass('fa-tagged-link');$this.text(text.trim().replace(regex,''));$this.prepend(''+tag.tag+'')})});var styles=['.fa-icon-selector-inner strong {',' display: block;',' margin-bottom: 4px;',' font-weight: bold;','}','','.fa-icon-selector .fa-tag-form-group {',' display: inline-block;',' margin-right: 15px;',' margin-top: 4px;','}','','.fa-tagged-link {',' text-decoration: none !important;','}','','.fa-tagged-link:hover {',' color: #f73 !important;',' text-decoration: none !important;','}','','span.fa-topic-tag {',' color: #fff;',' background-color: #39c;',' padding: 1px 5px;',' border-radius: 3px;',' margin-right: 4px;',' display: inline;',' text-decoration: none!important','}'].join('\n');$([''].join('\n')).appendTo('head')})}(jQuery))}if(window.location.href.startsWith("https://www.forumnsanimes.com/f68")){(function($){'use strict';var tags=[{tag:'Discussão',background:'#1C1C1C'},{tag:'Dúvida',background:'#3CB371'},{tag:'Ranking',background:'#DC143C'},{tag:'Teoria',background:'#4169E1'},{tag:'Novidade/Notícia',background:'#FA8072'},{tag:'Homenagem',background:'#C71585'},{tag:'Argumentação',background:'#778899'}];$(function(){var counter=1;if(location.pathname==='/post'&&$('form input[name="subject"]').length>0){var $textarea=$('#textarea_content');var $title=$('form [name="subject"]');var $zone=$(['',].join('\n')).prependTo($textarea);var $appendZone=$zone.find('.fa-icon-selector-inner');$.each(tags,function(index,tag){$(['',' ',' ','
',].join('\n')).appendTo($appendZone);counter++});if(/^\[.*\]/gi.test($title.val())){$title.val().replace(/^\[(.*)\]/gi,function(find,match){$('[data-tag="'+match+'"]').prop('checked',true)})}$zone.find('input.select-tag-input').on('focus',function(){setPrefix($(this).attr('data-tag'))});var setPrefix=function(prefix){if(/^\[.*\]/gi.test($title.val())){$title.val($title.val().replace(/^\[.*\]/gi,function(){return'['+prefix+']'}));return}$title.val('['+prefix+'] '+$title.val().trim())}}var $link=$('a[href^="/t"]');$link.each(function(){var $this=$(this);$.each(tags,function(index,tag){var regex=new RegExp('\\['+tag.tag+'\\]','gim');var text=$this.text();if(!regex.test(text)){return}$this.addClass('fa-tagged-link');$this.text(text.trim().replace(regex,''));$this.prepend(''+tag.tag+'')})});var styles=['.fa-icon-selector-inner strong {',' display: block;',' margin-bottom: 4px;',' font-weight: bold;','}','','.fa-icon-selector .fa-tag-form-group {',' display: inline-block;',' margin-right: 15px;',' margin-top: 4px;','}','','.fa-tagged-link {',' text-decoration: none !important;','}','','.fa-tagged-link:hover {',' color: #f73 !important;',' text-decoration: none !important;','}','','span.fa-topic-tag {',' color: #fff;',' background-color: #39c;',' padding: 1px 5px;',' border-radius: 3px;',' margin-right: 4px;',' display: inline;',' text-decoration: none!important','}'].join('\n');$([''].join('\n')).appendTo('head')})}(jQuery))}if(window.location.href.startsWith("https://www.forumnsanimes.com/f205")){(function($){'use strict';var tags=[{tag:'Discussão',background:'#1C1C1C'},{tag:'Dúvida',background:'#3CB371'},{tag:'Ranking',background:'#DC143C'},{tag:'Teoria',background:'#4169E1'},{tag:'Novidade/Notícia',background:'#FA8072'},{tag:'Homenagem',background:'#C71585'},{tag:'Argumentação',background:'#778899'}];$(function(){var counter=1;if(location.pathname==='/post'&&$('form input[name="subject"]').length>0){var $textarea=$('#textarea_content');var $title=$('form [name="subject"]');var $zone=$(['',].join('\n')).prependTo($textarea);var $appendZone=$zone.find('.fa-icon-selector-inner');$.each(tags,function(index,tag){$(['',' ',' ','
',].join('\n')).appendTo($appendZone);counter++});if(/^\[.*\]/gi.test($title.val())){$title.val().replace(/^\[(.*)\]/gi,function(find,match){$('[data-tag="'+match+'"]').prop('checked',true)})}$zone.find('input.select-tag-input').on('focus',function(){setPrefix($(this).attr('data-tag'))});var setPrefix=function(prefix){if(/^\[.*\]/gi.test($title.val())){$title.val($title.val().replace(/^\[.*\]/gi,function(){return'['+prefix+']'}));return}$title.val('['+prefix+'] '+$title.val().trim())}}var $link=$('a[href^="/t"]');$link.each(function(){var $this=$(this);$.each(tags,function(index,tag){var regex=new RegExp('\\['+tag.tag+'\\]','gim');var text=$this.text();if(!regex.test(text)){return}$this.addClass('fa-tagged-link');$this.text(text.trim().replace(regex,''));$this.prepend(''+tag.tag+'')})});var styles=['.fa-icon-selector-inner strong {',' display: block;',' margin-bottom: 4px;',' font-weight: bold;','}','','.fa-icon-selector .fa-tag-form-group {',' display: inline-block;',' margin-right: 15px;',' margin-top: 4px;','}','','.fa-tagged-link {',' text-decoration: none !important;','}','','.fa-tagged-link:hover {',' color: #f73 !important;',' text-decoration: none !important;','}','','span.fa-topic-tag {',' color: #fff;',' background-color: #39c;',' padding: 1px 5px;',' border-radius: 3px;',' margin-right: 4px;',' display: inline;',' text-decoration: none!important','}'].join('\n');$([''].join('\n')).appendTo('head')})}(jQuery))}if(window.location.href.startsWith("https://www.forumnsanimes.com/f46")){(function($){'use strict';var tags=[{tag:'Discussão',background:'#1C1C1C'},{tag:'Dúvida',background:'#3CB371'},{tag:'Ranking',background:'#DC143C'},{tag:'Teoria',background:'#4169E1'},{tag:'Novidade/Notícia',background:'#FA8072'},{tag:'Homenagem',background:'#C71585'},{tag:'Argumentação',background:'#778899'}];$(function(){var counter=1;if(location.pathname==='/post'&&$('form input[name="subject"]').length>0){var $textarea=$('#textarea_content');var $title=$('form [name="subject"]');var $zone=$(['',].join('\n')).prependTo($textarea);var $appendZone=$zone.find('.fa-icon-selector-inner');$.each(tags,function(index,tag){$(['',' ',' ','
',].join('\n')).appendTo($appendZone);counter++});if(/^\[.*\]/gi.test($title.val())){$title.val().replace(/^\[(.*)\]/gi,function(find,match){$('[data-tag="'+match+'"]').prop('checked',true)})}$zone.find('input.select-tag-input').on('focus',function(){setPrefix($(this).attr('data-tag'))});var setPrefix=function(prefix){if(/^\[.*\]/gi.test($title.val())){$title.val($title.val().replace(/^\[.*\]/gi,function(){return'['+prefix+']'}));return}$title.val('['+prefix+'] '+$title.val().trim())}}var $link=$('a[href^="/t"]');$link.each(function(){var $this=$(this);$.each(tags,function(index,tag){var regex=new RegExp('\\['+tag.tag+'\\]','gim');var text=$this.text();if(!regex.test(text)){return}$this.addClass('fa-tagged-link');$this.text(text.trim().replace(regex,''));$this.prepend(''+tag.tag+'')})});var styles=['.fa-icon-selector-inner strong {',' display: block;',' margin-bottom: 4px;',' font-weight: bold;','}','','.fa-icon-selector .fa-tag-form-group {',' display: inline-block;',' margin-right: 15px;',' margin-top: 4px;','}','','.fa-tagged-link {',' text-decoration: none !important;','}','','.fa-tagged-link:hover {',' color: #f73 !important;',' text-decoration: none !important;','}','','span.fa-topic-tag {',' color: #fff;',' background-color: #39c;',' padding: 1px 5px;',' border-radius: 3px;',' margin-right: 4px;',' display: inline;',' text-decoration: none!important','}'].join('\n');$([''].join('\n')).appendTo('head')})}(jQuery))}