Showing posts with label Script. Show all posts
Showing posts with label Script. Show all posts

Tuesday, April 14, 2020

Get URL parameters using jQuery

jQuery code snippet to get the dynamic variables stored in the url as parameters and store them as JavaScript variables ready for use with your scripts. Used differently to Hash Url’s as the world turns to dynamic web apps. Thus things like Decoding URL Strings will be ever-popular for years to come.

$.urlParam = function(name){
 var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
 return results[1] || 0;
}

// example.com?param1=name&param2=&id=6
$.urlParam('param1'); // name
$.urlParam('id');        // 6
$.urlParam('param2');   // null

//example params with spaces
http://www.jquery4u.com?city=Gold Coast
console.log($.urlParam('city'));  
//output: Gold%20Coast

console.log(decodeURIComponent($.urlParam('city')));  
//output: Gold Coast
This could be used for example to set the default value of a text input field:
$('#city').val(decodeURIComponent($.urlParam('city')));
Thanks to bjverde for improvements to this function:
$.urlParam = function(name){
    var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
    if (results==null){
       return null;
    }
    else{
       return results[1] || 0;
    }
}

Saturday, October 19, 2019

Happy Diwali Wishing Viral Script 2019 or Blogger Free Download | Premium account

Happy  Diwali Wishing Viral  Script For Blogger Free Download | JIO DELHI 

today i am going  to provide you Happy  Diwali to wishing viral script by using this script you can earn up to 50$  to 100$ per day by using event blogging techniques


What is event Blogging:         

A blog that is made to target a single day or week or month for receiving a huge amount of traffic is called event niche blog.

Example: Happy New Year (Target: one day or week) 

02: happy Diwali (Target: one day or week)   

But this is WhatsApp viral script can viral this script over WhatsApp and get more and more traffic and earn money 

How To Download This script:

  1. Click This link: https://linkgenie.me/s/C2uEq
  2. you will redirect to the youtube page
  3. subscribe our youtube channel 
  4. you will get downloading link

How To Setup Script:

  1. once you downloaded this script
  2. it looks like below pics
  1. Now open this file with any text editor copy all text 


  • This looks like the above picture 
  • now copy this code and open any browser like (chrome, firefox, opera or any browser)
  • visit this link  https://www.blogger.com and make a blog with a suitable name.
  • for example, happy Dewali script so named that (dwali.blogspot.com)
  • now goto Themes in blog 
  • and paste all copied code there  

  •  click on edit HTML and paste this code there 
  • and publish your site