Alkitab.Mobi Linker (JS)

function AyoNgelinkAlkitabMobi(){var i=0;this.pageLoad=function(){!function(e){!function(){function t(t){for(dewe="ch|chr|chron|chronicles|co|cor|corinthians|jhn|jn|jo|joh|john|kgs|ki|kin|kings|kor|korintus|pe|pet|peter|petrus|ptr|raj|raja|raja-raja|sa|sam|samuel|taw|tawarikh|tes|tesalonika|th|the|thes|thess|thessalonians|ti|tim|timothy|timotius|yoh|yohanes",KitabSuci="genesis|gen|ge|exodus|exod|exo|ex|leviticus|lev|lv|le|numbers|num|nmb|nu|deuteronomy|deut|deu|dt|de|joshua|josh|jos|judges|judg|jdg|ruth|rut|rth|ru|1 samuel|1samuel|1 sam|1sam|1 sa|1sa|i samuel|i sam|i sa|2 samuel|2samuel|2 sam|2sam|2 sa|2sa|ii samuel|ii sam|ii sa|1 kings|1kings|1 kin|1kin|1 kgs|1kgs|1 ki|1ki|i kings|i kin|i kgs|i ki|2 kings|2kings|2 kin|2kin|2 kgs|2kgs|2 ki|2ki|ii kings|ii kin|ii kgs|ii ki|1 chronicles|1chronicles|1 chron|1chron|1 chr|1chr|1 ch|1ch|i chronicles|i chron|i chr|i ch|2 chronicles|2chronicles|2 chron|2chron|2 chr|2chr|2 ch|2ch|ii chronicles|ii chron|ii chr|ii ch|ezra|ezr|nehemiah|neh|nh|ne|nehemia|esther|esth|est|es|ester|job|jb|psalms|psalm|psa|pss|ps|proverbs|proverb|prov|pro|pr|ecclesiastes|eccl|ecc|ec|songs of solomon|songsofsolomon|song of solomon|songofsolomon|song of songs|songofsongs|songs|song|son|sos|so|isaiah|isa|is|jeremiah|jer|je|lamentations|lam|la|ezekiel|ezek|eze|daniel|dan|dn|da|hosea|hos|ho|joel|joe|yl|amos|amo|am|obadiah|oba|ob|jonah|jon|micah|mikha|mic|mi|nahum|nah|na|habakkuk|habakuk|hab|zephaniah|zeph|zep|haggai|hagai|hag|zechariah|zech|zec|za|malachi|mal|matthew|mathew|matt|mat|mt|markus|mark|mar|mrk|mr|mk|luke|luk|lu|lk|john|joh|jhn|jn|acts of the apostles|actsoftheapostles|acts|act|ac|romans|rom|rm|ro|1 corinthians|1corinthians|1 cor|1cor|1 co|1co|i corinthians|i cor|i co|2 corinthians|2corinthians|2 cor|2cor|2 co|2co|ii corinthians|ii cor|ii co|galatians|galatia|gal|ga|ephesians|eph|ep|phillippians|philippians|phill|phil|phi|php|ph|colossians|col|co|1 thessalonians|1thessalonians|1 thess|1thess|1 thes|1thes|1 the|1the|1 th|1th|i thessalonians|i thess|i thes|i the|i th|2 thessalonians|2thessalonians|2 thess|2thess|2 thes|2thes|2 the|2the|2 th|2th|ii thessalonians|ii thess|ii thes|ii the|ii th|1 timothy|1timothy|1 tim|1tim|1 ti|1ti|i timothy|i tim|i ti|2 timothy|2timothy|2 tim|2tim|2 ti|2ti|ii timothy|ii tim|ii ti|titus|tit|philemon|phile|phm|hebrews|heb|he|james|jam|jas|jms|ja|jm|1 peter|1peter|1 pet|1pet|1 pe|1pe|i peter|i pet|i pe|1 ptr|1ptr|2 peter|2peter|2 pet|2pet|2 pe|2pe|ii peter|ii pet|ii pe|2 ptr|2ptr|1 john|1john|1 joh|1joh|1 jhn|1jhn|1 jo|1jo|1 jn|1jn|i john|i joh|i jhn|i jo|i jn|2 john|2john|2 joh|2joh|2 jhn|2jhn|2 jo|2jo|2 jn|2jn|ii john|ii joh|ii jhn|ii jo|ii jn|3 john|3john|3 joh|3joh|3 jhn|3jhn|3 jo|3jo|3 jn|3jn|iii john|iii joh|iii jhn|iii jo|iii jn|jude|jud|ju|revelations|revelation|rev|re|rv",BujonoSuci="kejadian|kej|kel|keluaran|im|imamat|bil|bilangan|ul|ulangan|yos|yosua|hak|hakim-hakim|rut|ru|1 samuel|1samuel|1 sam|1sam|1 sa|1sa|i samuel|i sam|i sa|2 samuel|2samuel|2 sam|2sam|2 sa|2sa|ii samuel|ii sam|ii sa|1 raj|1 raja|1raj|1raja|1 raja-raja|1raja-raja|2 raj|2 raja|2raj|2raja|2 raja-raja|2raja-raja|i raj|i raja|iraj|iraja|i raja-raja|iraja-raja|ii raj|ii raja|iiraj|iiraja|ii raja-raja|iiraja-raja|1 tawarikh|1tawarikh|1 taw|1taw|i tawarikh|i taw|2 tawarikh|2tawarikh|2 taw|2taw|ii tawarikh|ii taw|ezra|ezr|neh|nh|ne|nehemia|est|es|ester|ayub|ayb|ay|mazmur|maz|mzm|amsal|ams|pengkhotbah|pkh|kidung agung|kidungagung|kid|yesaya|yes|yeremia|yer|ratapan|rat|yehezkiel|yeh|hosea|hos|ho|yoel|yl|amos|amo|am|obaja|oba|ob|yunus|yun|mikha|mik|mi|nahum|nah|na|habakkuk|habakuk|hab|zefanya|zef|haggai|hagai|hag|zakharia|za|maleakhi|mal|matius|mat|mt|markus|mark|mar|mrk|mr|mk|lukas|luk|lu|lk|yohanes|yoh|kisah para rasul|kisah rasul|kis|roma|rom|rm|ro|1 korintus|1korintus|1 kor|1kor|2 korintus|2korintus|2 kor|2kor|i korintus|ikorintus|i kor|ikor|ii korintus|iikorintus|ii kor|iikor|galatia|gal|ga|efesus|ef|filipi|flp|fil|kolose|kol|1 tesalonika|1tesalonika|1 tes|1tes|i tesalonika|i tes|2 tesalonika|2tesalonika|2 tes|2tes|ii tesalonika|ii tes|1timotius|1 timotius|1 tim|1tim|1 ti|1ti|i tim|i ti\t|i timotius|i tim|i ti|2timotius|2 timotius|2 tim|2tim|2 ti|2ti|ii timotius|ii tim|ii ti|titus|tit|filemon|flm|ibrani|ibr|yakobus|yak|1 pet|1pet|1 pe|1pe|1 petrus|1petrus|1 ptr|1ptr|2 pet|2pet|2 pe|2pe|ii peter|ii pet|ii pe|2 petrus|2petrus|2 ptr|2ptr|1 yohanes|1yohanes|1yoh|1 yoh|i yohanes|i yoh|2 yohanes|2yohanes|ii yohanes|ii yoh|2yoh|2 yoh|3 yohanes|3yohanes|3yoh|3 yoh|iii yohanes|iii yoh|yudas|yud|wahyu|why",KitabSuci=KitabSuci.replace(/ /g,"\\s+"),BujonoSuci=BujonoSuci.replace(/ /g,"\\s+"),JenengKitab=KitabSuci+"|"+BujonoSuci,ketemu=!1,ketemu_1=new Array,isi3=s,reg.compile("^([\\w\\W\\s]*?\\b)??((("+JenengKitab+")\\.?\\s+)(\\d+(?:(?:-|:|(?:;\\s*\\d+:\\s*)|,|\\.|\\d|dan|\\s)+\\d+)?)(?!\\s*(?:"+dewe+")\\.?\\s))((?:.*\\s*)*)","im"),(ketemu_1=reg.exec(t))&&(ketemu=!0);1==ketemu;){var o=String(ketemu_1[3]).substring(0,1);if("d"==o&&/d/.test(o))t=ketemu_1[6];else{isi2=isi3.splitText(isi3.length-(ketemu_1[6].length+ketemu_1[2].length)),isi3=isi2.splitText(ketemu_1[2].length);var n=ketemu_1[2].replace(/\./," ");/dan/.test(n)&&(n=/dan\s*\d*:.*/.test(n)?n.replace(/dan/,";"):n.replace(/dan/,","));var h=(n=(n=(n=n.replace(/,\s*;/g,";")).replace(/\s+/g," ")).replace(/\n+/g," ")).replace(/[ ,;:]/g,"_");a=e.createElement("a"),a.setAttribute("href","http://alkitab.mobi/tb/passage/"+n),a.setAttribute("id",h),a.setAttribute("passage",n),a.setAttribute("class",i[6]),a.appendChild(e.createTextNode(ketemu_1[2])),s.parentNode.replaceChild(a,isi2),a.target="_blank",a.normalize(),t=isi3.nodeValue}ketemu=!1,(ketemu_1=reg.exec(t))&&(ketemu=!0)}}var s;reg=new RegExp,function(){var i="//text()[(parent::"+["abbr","acronym","address","applet","b","bdo","big","blockquote","body","caption","center","cite","code","dd","del","div","dfn","dt","em","fieldset","font","form","h1","h2","h3","h4","h5","h6","i","iframe","ins","kdb","li","object","pre","p","q","samp","small","span","strike","s","strong","sub","sup","td","th","tt","u","var"].join(" or parent::")+")]",a=e.evaluate(i,e,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);if(a)for(s=null,z=0;s=a.snapshotItem(z);z++){var o=s.nodeValue;o&&(hasil=t(o))}}()}()}(window.top.document)}}var iki=new AyoNgelinkAlkitabMobi;$(document).ready(function(){iki.pageLoad()});

Cara pasang : https://www.kaktheo.net/2019/09/cara-pasang-alkitabmobi-linker.html

Code : http://theo.web.id/js/alkitab.mobi.js

Contoh :
Imamat 16:20-28
Rut 2:8-13

Bagi yang ingin mencoba apakah kode ini berhasil atau tidak, silahkan tuliskan ayat emas atau ayat kesukaan kalian di kolom komentar.

Alkitab.Mobi Linker (JS)

Berlangganan update artikel terbaru via email:

2 Komentar untuk "Alkitab.Mobi Linker (JS)"

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel