Posts

Showing posts from December, 2017

(JS) Javascript Function Remove Slash From String

Image
All I needed was to expel every single forward slice in a string utilizing Javascript. Remove Forward Slash (/) Using JavaScript Function function FSlash(func){ var x = func,    n = x.replace(/\//g,''); return n  } //Usage Using Variable var nx = "4x/4/4/5/6/7//532///45/"; //Call Variable Into Function Name    document.write(FSlash(nx)); //You can combine from function too Demo : CodePen The vital part to note here is the consistent articulation /\//g . The bit of the string you need supplanting is composed between the first and last forward cuts – so on the off chance that you needed the word 'work area' supplanted you would compose/work area/g. As the character we need to expel is an uncommon case you need to escape it utilizing an oblique punctuation line, generally the code will read the twofold forward cut as a remark thus quit preparing the line. At last, the g implies apply the substitution internationally to the string with the goa

Update Code Widget Dan Template Untuk Simple Safelink Converter

Image
Untuk Cara Instal, Deskripsi, Dan Cara Penerapan Klik Disini (Cara Membuat Simple Safelink Converter) Update code Safelink Converter untuk Widget Atau Template/Theme Tambahan : Protected Links <script type='text/javascript' async='async'> var myArray = ['https://web-manajemen.blogspot.com/p/redirect.html?u=', 'https://web-manajemen.blogspot.com/p/advertisement.html?u=', 'http://web-manajemen.blogspot.com/p/advertise.html?u=']; var safelink = myArray[Math.floor(Math.random() * myArray.length)]; var protectedLinks = /(bing.com|google|linkedin.com|facebook|manajemen|safelink|pinterest|digg.com|twitter|codepen.io|blogger.com|ask.com|DOMAINKAMU.COM)/ $( 'a' ).each(function() { if (this.href.match( protectedLinks ) ){ $(this).attr("href", $(this).attr("href")+'?success'); //$(this).addClass('w3-text-green'); //Add Class On Internal Links } else { $(this).attr("href", safe

Update Code Safelink Converter Untuk Halaman 12 Desember 2017

Image
Untuk Cara Instal, Deskripsi, Dan Cara Penerapan Klik Disini (Cara Membuat Simple Safelink Converter) Code Untuk Di Halaman Safelink <script type="text/javascript" async> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("="); if(pair[0] == variable){return pair[1];} } return(false); } var count = 11; var queryU = getQueryVariable('u'); var redirect = decodeURIComponent(queryU); var noprotocol = redirect.replace(/(^\w+:|^)\/\//, ''); function countDown(){ var timer = document.getElementById("timer"); var done = document.getElementById("done"); var ket = document.getElementById("ket"); if(count > 0){ count--; timer.innerHTML = "<div id='timer' class='w3-center w3-panel w3-light-grey'>Y

Random Posts Widget Blogger

Image
How to create random posts widget blogger (simple and stylish). 1. Login to dashboard blogger -> navigate to layout tab -> create widget html/javascript -> insert this code to the widget. <style scoped='' type="text/css"> #arlina-random ul{list-style:none;margin:0;padding:0}#arlina-random li{display:block;clear:both;overflow:hidden;list-style:none;border-bottom:1px solid #e3e3e3;word-break:break-word;padding:10px 0;margin:0;} #arlina-random li:last-child{border-bottom:0;} #arlina-random li a{color:#444;}#arlina-random li a:hover{color:#444;text-decoration:underline} </style> <div id='arlina-random'>Memuat...</div> <script> //<![CDATA[ // Random Post Widget var homePage = ' https://www.web-development.cf ',     maxResults = 10 ,     containerId = 'arlina-random'; function getRandomInt(min, max) {     return Math.floor(Math.random() * (max - min + 1)) + min; } function shuffleArray(arr) {     var i = a

Powerful Ways to Remove Active Links in Blog Comments

Image
Link is active in the comment, what does it mean? An active link is a link that contains hyperlinks to point to a specific page or site.Means if combined, the meaning of the active link in the comment is the active link in the comment. Usually embedded by other blogger people or admins in the comments column as a response to the article in a blog post. If there is an active link, is there any inactive link? Correct. Inactive links mean the opposite of active links. Physically, an inactive link when clicked using a mouse will not generate a new page. In contrast to active links. Clicking will redirect to a specific page according to the URL embedded in it. Backlink effect The blog walker or admin term used to make comments on other blogs, usually aim to get backlinks. They then insert a link to his blog on the comments they wrote. In addition, he also hopes to get a response from people who visit the blog. Why was it removed Then why do active l