Border Guard involves an Enppi critical individual in a free switch deal

The border guards succeeded in alongside with Ahmed Jamal, the participant of Enppi, in a free switch deal for 3 years.

Ahmed Gamal used to be escalated to the foremost football crew of Enppi Membership in 2023 and performed in the legal flit center.

Ahmed Gamal participated in 6 video games with Enppi in the Egyptian League final season, however he did no longer rating or produce a plot.

The Border Guard Membership used to be moreover ready in the final length to encompass Mohamed Hamdi Zaki and Mohamed Jaber from Ghazl Al -Mahalla Membership to make stronger the crew’s ranks in preparation for the subsequent season.

The border guards occupied the ninth attach of abode final season in the foremost group with 24 aspects.

feature replaceOembedWithHtml(element, sourceData) {
if (sourceData.supply.toLowerCase() === “youtube”) {
var html=”

” +

‘ +

‘ +

‘ +
‘ +

‘ +

‘;
replaceElementWithHtml(element, html);
} else if (sourceData.supply.toLowerCase() === “instagram”) {
var html=”

‘;
replaceElementWithHtml(element, html);
} else if (sourceData.supply.toLowerCase() === “twitter”) {
var html=”

‘;
replaceElementWithHtml(element, html);
} else if (sourceData.supply.toLowerCase() === “fb”) {
var html=”


replaceElementWithHtml(element, html);
} else {
replaceElementWithHtml(element, “”);
}
}

feature extractLinkFromOembed(element) {
return getUrlSource(element.getAttribute(“url”));
}

feature getUrlSource(url) {
var ytRegex = /http(?:s?)://(?:www.)?youtu(?:be.com/observe?v=|.be/)((w-_)*)(&(amp;)?‌​(w?‌​=)*)?/;
var instaRegex = /(https?://www.)?instagram.com(/p/(w+)/?)/;
var twitterRegex = /twitter.com/.*/voice(?:es)?/((^/?)+)/;
var fbRegex = /^https?://www.fb.com.*/(video(s)?|observe|story|posts)(.php?|/).+$/;

if (ytRegex.take a look at(url)) {
return {
supply: “Youtube”,
url: url,
identity: ytRegex.exec(url)(1)
};
}

if (instaRegex.take a look at(url)) {
return {
supply: “Instagram”,
url: url,
identity: instaRegex.exec(url)(3)
};
}

if (twitterRegex.take a look at(url)) {
return {
supply: “Twitter”,
url: url,
identity: twitterRegex.exec(url)(1)
};
}

if (fbRegex.take a look at(url)) {
return {
supply: “Fb”,
url: url,
identity: fbRegex.exec(url)(1)
};

}

return {
supply: “Unknown”,
url: url,
identity: “”
};
}

feature replaceElementWithHtml(element, html) {
var str = html;
var Obj = element; //any element to be fully changed
if (Obj.outerHTML) { //if outerHTML is supported
Obj.outerHTML = str; ///it is simple change of entire element with contents of str var
} else { //if outerHTML is no longer supported, there is a outlandish however crossbrowsered trick
var tmpObj = doc.createElement(“div”);
tmpObj.innerHTML = ‘‘;
ObjParent = Obj.parentNode; //Okey, element must be parented
ObjParent.replaceChild(tmpObj, Obj); //here we placing our temporary data aside from our goal, so we can acquire it then and change it into whatever we must change to
ObjParent.innerHTML = ObjParent.innerHTML.change(‘

‘, str);
}
}
feature loadfbApi() {
var js = doc.createElement(‘script’);
js.src=”
doc.body.appendChild(js);
}
feature runYoutubeLazyLoad() {
/// youtube lazyload
var youtube = doc.querySelectorAll(“.youtube”);

for (var i = 0; i < youtube.length; i++) { var supply = "https://img.youtube.com/vi/" + youtube(i).dataset.embed + "http://192.168.2.55/0.jpg"; var image = recent Portray(); image.src = "https://www.elbalad.news/issues/elbalad/resources/shots/no.jpg"; image.classList.add('lazyload'); image.setAttribute("data-src", supply); image.setAttribute("alt", "youtube"); image.addEventListener("load", feature () { youtube(i).appendChild(image); }(i)); youtube(i).addEventListener("click on", feature () { var iframe = doc.createElement("iframe"); iframe.setAttribute("frameborder", "0"); iframe.setAttribute("allowfullscreen", ""); iframe.setAttribute("src", "https://www.youtube.com/embed/" + this.dataset .embed + "?rel=0&showinfo=0&autoplay=1"); this.innerHTML = ""; this.appendChild(iframe); }); }; } (tagstotranslate) Ahmed Gamal (T) Border Guard (T) Enppi (T) Ahmed Jamal, the participant of Enppi (T) Egyptian League (T) Sports

Source hyperlink