', {
async: 'async',
src: url
})
.load(function(){
if(loadFn){
loadFn();
loadFn = null;
}
})
.error(function(jqXHR, textStatus){
/* When script is blocked, textStatus is undefined. */
if(typeof textStatus !== 'undefined'){
return;
}
if(errorFn){
errorFn(jqXHR, textStatus);
errorFn = null;
}
});
(document.body || document.getElementsByTagName('body')[0]).appendChild(script[0]);
}
};
var AdBlockDetectorWorkaround = function(){
/* This is just in case the handler script is blocked by the adblocker */
if(!XenForo.rellect.AdBlockDetector){
console.log('AdBlock detector failed. Trying workaround.');
XenForo.ajax('index.php', {dataType: 'html', AdblockDetector: 1}, function(ajaxData){
if(XenForo.hasTemplateHtml(ajaxData)){
try{
jQuery.globalEval(ajaxData.templateHtml);
}
catch(e){}
}
}, {
error: function(){
console.log('AdBlock detector workaround failed.');
}
});
}
};
XenForo.rellect.AdBlockDetectorParams.loadScript(
'js/rellect/AdblockDetector/handler.min.js?rev=33',
false,
AdBlockDetectorWorkaround
);jQuery.extend(true, Stylium,
{
_settingEnable: "1",
_imagePath: "js/brivium/stylium/1000000/img",
_boardUrl: "https://www.noujoumtounes.com",
_settingEnable: "1",
_mainContainerMargin: '260px',
_maxResponsiveWideWidth: "800px",
_maxResponsiveMediumWidth: "610px",
_maxResponsiveNarrowWidth: "480px",
_collapsibleCategory: "1",
_categoryCollapseSpeed: "800",
_footerGoToTop: "1",
_footerGoToTopVisibilty: "200",
_footerGoToTopSpeed: "1000",
_collapsibleSidebar: "0",
_collapsibleSidebarBlock: "0",
_homeTabIcon: "1",
_navDropdownArrows: "0",
_subNavigation: "1",
_stickyHeader: "",
_stickyModerator: "1",
_sidebarBlockCollapseTriggerClass: "fa-chevron-up",
_sidebarBlockExpandTriggerClass: "fa-chevron-down",
_categoryCollapseTriggerClass: "fa-chevron-up",
_categoryExpandTriggerClass: "fa-chevron-down",
settingSelectors: {
font : "body, .messageText",
bodyBgColor : "body, #styliumSetting .styliumBodyBackgroundColor, ",
bodyBgImage : 'body',
bodyBgSize : 'body',
bodyBgPosition : 'body',
bodyBgRepeat : 'body',
primaryColor : ".breadcrumb .crust:last-child a.crumb, .navigationSideBar a:hover, body .xenOverlay.memberCard .userInfo h3 a, body .xenOverlay.memberCard .userLinks, .primaryContent a, .PageNav a:hover, .PageNav a:focus, .footer a:active, .navTabs .navTab.selected .navLink, .navTabs .navTab.selected .navLink:hover, .navTabs .navTab.selected .tabLinks a:hover, .navTabs .navTab.selected .tabLinks a:focus, .sidebar .visitorPanel .username, .node .unread .nodeText .nodeTitle, .node .subForumList .unread .nodeTitle, .subForumsMenu .node .unread .nodeTitle, .navTabs .navTab.selected .SplitCtrl:before, #logo .fa",
primaryColorBg : "#styliumSetting .styliumPrimaryColor, #header, .footer .pageContent, .resourceListItem .resourceImage .resourceIcon img, .resourceInfo .resourceImage .resourceIcon, #searchBar.hasSearchButton #QuickSearch .primaryControls .fa-search, .resourceListItem .resourceImage .resourceIcon img, .avatar img, .avatar .img, .avatarCropper, .heading, .xenForm .formHeader, .Popup .PopupControl.PopupOpen, .Popup.PopupContainerControl.PopupOpen, .navTabs .navTab.Popup.PopupContainerControl.PopupOpen, .dataTable caption, .navTabs .navTab.selected.PopupOpen .navLink, a.callToAction span, .avatarScaler img, .xenOverlay .formOverlay .avatar img, .xenOverlay .formOverlay .avatar .img, .xenOverlay .formOverlay .avatarCropper, .styliumBoxedCover #navigation.activeSticky .styliumStickyWrapper, .styliumWide #navigation.activeSticky .styliumStickyWrapper",
primaryColorBorder : ".textCtrl:focus, .textCtrl.Focus",
primaryColorBorderTop : ".Menu",
secondaryColor : ".sidebar .featuredNotice, .resourceListItem .main .featuredBanner, .smilieList .smilieText:hover",
secondaryColorBg : "#styliumSetting .styliumSecondaryColor, .button:hover, .button[href]:hover, .buttonProxy:hover .button, #SignupButton:hover .inner, a.callToAction:hover span, .downloadButton:hover .inner",
secondaryColorBorder : "",
secondaryColorBorderTop : "",
tertiaryColor : "",
tertiaryColorBg : "#styliumSetting .styliumTertiaryColor, ",
tertiaryColorBorder : "",
tertiaryColorBorderTop : ""
},
settingDefaultValues: {
layout : "styliumBoxed",
primaryColor : "rgb(42, 60, 87)",
secondaryColor : "#e68c17",
tertiaryColor : "#141414",
bodyBgFullPage : "",
bodyBgColor : "",
bodyBgSize : "auto",
bodyBgImage : "js/brivium/stylium/1000000/img/pattern1.png",
bodyBgRepeat : "repeat",
bodyBgPosition : "0px 0px",
font : "DroidNaskh-Bold",
fontVariants : "",
}
});
Stylium.settingCustomValues = {
};
jQuery.extend(XenForo.phrases,
{
BRSF_collapse: "Collapse"
});