Monday, August 17, 2015

JavaScript Function -For Google oAuth for login with google plus



Hello guys,

I have another code for authenticate user using google oAuth, and using google developer to get the application Id.

Login with Google Plus OAuth.


Step 1

Add or register your domain at click here.

Importing GMail Contacts Google OAuth Connect with PHP.

Step 2

Verify your domain ownership with HTML file upload or including META tag.

Importing GMail Contacts Google OAuth Connect with PHP.

Step 3

Google will provide you OAuth consumer key and OAuth consumer secret key. 
Importing GMail Contacts Google OAuth Connect with PHP. 

Step 4

Create client ID OAuth Console here.  

Login with Google Plus Oauth

Step 5

Create client ID.

Login with Google Plus OAuth.

Step 6

Here the application OAuth client ID and client secret.

Login with Google Plus OAuth. 
 //here we have java script code

<script >
          var loc = window.location.host;
          var OAUTHURL = 'https://accounts.google.com/o/oauth2/auth?';

          var VALIDURL = 'https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=';

          var SCOPE = 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email';

//here you can use your own client Id that earlier you registered
          var CLIENTID = '*****************************';

          var REDIRECT = 'http://' + loc + '/edLoginpage.aspx';

          //var LOGOUT = 'http://accounts.google.com/Logout';

          var TYPE = 'token';

          var _url = OAUTHURL + 'scope=' + SCOPE + '&client_id=' + CLIENTID + '&redirect_uri=' + REDIRECT + '&response_type=' + TYPE;

          var acToken;

          var tokenType;

          var expiresIn;

          var user;

          var loggedIn = false;
//call this function onclick event of button in html
          function login() {
              var win = window.open(_url, "windowname1", 'width=800, height=600');
              var pollTimer = window.setInterval(function () {
                  try {
                      console.log(win.document.URL);
                      if (win.document.URL.indexOf(REDIRECT) != -1) {

                          window.clearInterval(pollTimer);
                          var url = win.document.URL;
                          win.close();
                          acToken = gup(url, 'access_token');
                          validateToken(acToken);
                      }

                  } catch (e) {

                  }

              }, 500);

          }

          function validateToken(token) {

              $.ajax({

                  url: VALIDURL + token,

                  data: null,

                  success: function (responseText) {

                      getUserInfo();
                      loggedIn = true;
                  },

                  dataType: "jsonp"

              });

          }
          function gup(url, name) {

              name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");

              var regexS = "[\\#&]" + name + "=([^&#]*)";

              var regex = new RegExp(regexS);

              var results = regex.exec(url);

              if (results == null)

                  return "";

              else

                  return results[1];

          }
          function getUserInfo() {

              $.ajax({

                  url: 'https://www.googleapis.com/oauth2/v1/userinfo?access_token=' + acToken,
                  data: null,
                  success: function (resp) {
                      user = resp;
                      var name = user.name;
                      var r = splitUsername(name);
                      var SNfirstName = r.firstName;
                      var SNlastName = r.lastName;
                      var SNuserId = user.id;
                      var SNuserEmail = user.email;
                      var args = {
                          "SNfirstName": SNfirstName, "SNuserId": SNuserId, "SNlastName": SNlastName, "SNuserEmail": SNuserEmail
                      }

//use this information for manipulate for login or store this information in db

                  },

                  dataType: "jsonp"

              });

          }
</script>



//html code for button
you can use this button for login google plus

<li>
<a href="javascript:void(0);" class="btn btn-danger btn-circle"><i class="fa fa-google-plus fa-2x" onclick="login();"></i></a>
</li>

Posted By bhupinder singh 12:33 PM

Latest Working Airtel 3G Proxy Trick June-July 2015

CareFully Read this trick is working most of the state.

Let's Go:-New Home Pages and Proxy List Added

(i)Proxy list - 
- prx.im or 176.126.237.199
- webproxy.stealthy.co
- german-proxy.de or 213.202.215.157
- youtubefreeproxy.com 
- freevideoproxy.com 
- 95.211.209.163 
- zendproxy.com 
- 85.17.141.35 
- www.air-proxy.com 
- http://199.167.132.128/ Fast 
- www.air-proxy.com
- zacebook.com
- 0000a-fast-Proxy.de
- 176.126.237.198 
- 85.31.188.132
- 162.213.39.110 (resume support) 
- iphider.org or 192.99.36.43 (good speed)
- 216.155.153.105 
- 185.12.6.15 (resume supported)
- 198.204.237.10
- proxies.us OR 23.105.134.34
- bbproxy.pw OR 198.204.237.11 
- 93.115.85.195
- 4everproxy.com OR 192.30.136.222
- hideip.co OR 199.167.133.154
- hiload.org OR 37.48.85.195
- clickbypass.info OR 198.50.152.63
- www.zfreez.com OR www.efreetimes.com OR www.vigoob.com OR 46.105.18.32
- 5.10.71.134 OR Jetproxy.com
- 5.199.140.148 OR proxy.hmastuff.com
- 63.25.153.7
- 5.231.56.12
- 192.99.36.43
- 176.126.237.199 
- 198.204.237.11 


Port - 80 or 443

Follow the below steps to use free 2g or 3g internet Using PROXY trick
For Mobile users
1.Go to settings in mobile phone
2.Then open Network Connection Setting.
3.Now in the option, click on create new setting/ connection.
4.There you'll get many input options just do as stated below-
5.Account Name – Airtel free 3g internet trick by techiNtor
6.APN – airtelgprs.com
7.Proxy address – Type any of the proxy address given above.
8. Port – 80
9.Now leave all the other fields blank
10.Save settings and Make it default
11.Now open your internet browser ( open any browser )
12.Now open any homepage given above
13. Now enjoy free 3g high speed internet on your airtel.



For PC (computer) Users
I will recommend you to use Mozilla Firefox for setting up proxy trick.
1. Open Options.
2. Click on the advance tab and then network tab.
3. Click on Manual Connection setting and add the above-given proxy and port.
3. Save the setting.
4.Now open home page given above
5.Enjoy free high-speed 3g internet on your PC with your airtel sim.
If you get low internet speed then disable javascript and enjoy high speed

(ii) Airtel high-speed Proxy with front query
 
open opera Mini handler or Uc browser and set the following details-

Proxy:  208.116.58.26
Port: 80
Apn: airtelgprs.com
Front-Query: wynk.in/~dedi/index.pl/en/00/http/
OR
Proxy:- 192.185.24.25
Port:-80
Apn:- airtelgprs.com
Front-Query: buddies.airtelmoney.in/~kollev/index.pl/en/00/http/
OR
Proxy:- 119.81.182.246
Port:-80
Apn:- airtelgprs.com
Home page:- airtellive.com
Front-Query - airtellive.com/cgi-bin/nph-naninaveen.pl/en/20/http/

This airtel proxy with front query trick is working in August 2015. Working with high speed and confirmed in many states.
 



Posted By bhupinder singh 12:28 PM

Thursday, July 30, 2015

Javascript function - Facebook oAuth function for login to application

Hello friends,After such a long period time.We back again :)

So,I have code for login with facebook oAuth using Jquery.That is based on token based call.
you can use this code in simple html ,.net and php applications.

//here we write code for fb oAuth

  <script type="text/javascript">
          window.fbAsyncInit = function () {
              FB.init({
                  appId: '****************',//you can get this appId from Facebook developer
                  status: true,
                  cookie: true,
                  xfbml: true,
                  oauth: true,
              });
          };
          (function (d) {
              var js, id = 'facebook-jssdk'; if (d.getElementById(id)) { return; }
              js = d.createElement('script'); js.id = id; js.async = true;
              js.src = "//connect.facebook.net/en_US/all.js";
              d.getElementsByTagName('head')[0].appendChild(js);
          }(document));



//this is the login function to login based on token
 function fb_login() {

              FB.login(function (response) {
                  if (response.authResponse) {

                      console.log('Welcome!  Fetching your information.... ');
                      access_token = response.authResponse.accessToken; //get access token
                      user_id = response.authResponse.userID; //get FB UID

                      FB.api('/me', function (response) {
                          if (response.name) {

                              //this details you can store for authentication of users//

                              var userName = response.name;
                              var r = splitUsername(userName);
                              var SNfirstName = r.firstName;
                              var SNlastName = r.lastName;
                              var SNuserId = response.id;
                              var SNuserEmail = response.email;
                              var args = {
                                  "SNfirstName": SNfirstName, "SNuserId": SNuserId, "SNlastName": SNlastName, "SNuserEmail": SNuserEmail
                              }
                              $.ajax({
                                  type: "POST",
                                  url: "edRegisterPage.aspx/SetSession",
                                  data: JSON.stringify(args),
                                  contentType: "application/json; charset=utf-8",
                                  dataType: "json",
                                  success: function () {
                                      var url = "/edRegisterPage.aspx";
                                      window.location.href = url;
                                  },
                                  error: function () {
                                      alert("Fail");
                                  }
                              });
                          }
                      });
                  } else {

                 //here you can send alert for login failed !!
                      alert('Login Failed!');
                  }
              }, { scope: 'publish_stream,email' });
          }
</script>
















   











//html code for button
<ul>





<li>
      <a href="javascript:void(0);" class="btn btn-primary btn-circle"><i class="fa fa-facebook fa-2x" onclick="fb_login();"></i></a>
</li>
</ul>

If any query or any suggestion please write comment.


Posted By bhupinder singh 5:35 PM

Monday, November 25, 2013

GTA IV Bugs Solved : Drunk camera & Car throttle - FIX

I hope you have downloaded GTA IV , an awesome game and started playing it . But when you do ,you notice some weird things Happening like
 The camera Appears to be drunk or the Car
 automatically moves forward . 



 If you do , You are in the right place .
 I will teach you how to FiX it .


Firstly Download this tool here ,  for
32 bit systems and 64 bit systems 
Install it and just restart your Computer .

Then Run the file called ' Revoke License ' . the game will start , wait for few minutes then Quit as usual . okay you are done . But always remember to run the file called ' LaunchGTAIV ' instead of ' GTAIV ' . Do that , and Always open it as Administrator .

I hope this small article helped you solve your problem with this awesome game !

Posted By bhupinder singh 3:16 PM

GTA 4 PC full version with crack & patch - 100% working

http://www.crackohack.in/2013/11/gta-4-pc-full-version-with-crack-patch.htmlGrand Theft Auto IV is a 2008 open world action-adventure video game, developed by Rockstar North and published by Rockstar Games. It was released for the PlayStation 3 and Xbox 360 on 29 April 2008, and for Microsoft Windows on 2 December 2008.
 A major commercial and critical success, it broke industry records with sales of around 3.6 million units on its first day of release and grossing more
256 × 320 - en.wikipedia.org 
 than $500 million in revenue in the first week, selling an estimated 6 million units worldwide. Grand Theft Auto IV won numerous awards from both gaming and mainstream press, including several recognitions as Game of the  Year.


For me , Its the best or One of the best PC games of the Decade !

So , how to get the Game ??

1. If you have any Torrent download Client then good , if not ,
get it .
2. Then get this Software , You have to have it .
3. After Downloading and Installing all of the above ,
Get the torrent 
4. Download the whole big data of 13 GB
5. Install the Game , Restart your PC
6. Download the
Pirating tools  , Open them .S
7. Run Patch as Administrator and patch the game .
8. Copy the Crack file and paste it to the installed Directory .
9. Run the EXE and play .


Enjoy my Friends and do seed this torrent to support the guys. And do buy the game if you love it .
Update :
Know how to Fix the small errors in this game ( bugs )

Posted By bhupinder singh 3:10 PM

Friday, November 22, 2013

Microsoft Office 2013 Pro ( x32 & x64 ) With Activator


Microsoft Office 2013 (formerly Office 15 ) is a version of Microsoft Office, a productivity suite forMicrosoft Windows. It is the successor of Microsoft Office 2010 and includes extended file format
support, user interface updates and support for touch among its new features.

I have personally tried it and it works . I am currently using it , so don't worries ;-) .
This is file hosted in a very complete strange server but it is safe .
According to your Operating system's Config , download ;

If you have any problems , do let me know in the comments below !

Posted By bhupinder singh 4:22 PM

Youtube Video downloader PRO (YTD) + crack, Full version

Youtube Video downloader PRO (YTD) + crack ; Full version 
Its a Software used to download videos from popular video sharing sites like Youtube .. Its was  formerly known as plain old YouTube Downloader,  recently renamed YTD Video Downloader updates to version 4.2 with a promise of 2x faster downloads and 2x faster video conversions, and perhaps more usefully, the ability to resume downloads after the temporary loss of an Internet connection



this is a paid software , but our ( crackohack team ) gaves this to you guys for free !

How to : Just install the software ,
 then copy the crack and paste it to the installed directory
Ex : C:\Program Files\PRODUCT COMPANY\YTD downloader
Just replace the original file with the crack I provide ! Then Open the App and see the magic !!
Any doubts ? Put it down in the comment box below !


  Download the installer     latest version from Cnet
  Download the crack           from Zippyshare !

Posted By bhupinder singh 10:01 AM

Thursday, November 21, 2013

Worlds best comodo Internet security suite - totally for free !




An Internet security suite is a security program for your computer system which is the combination
of an Anti-virus and a Firewall ( with other necessary modules and protection )
In this post , I want to share , the worlds best ISS ( free ) ,

 ie; Comodo internet security - premium



best Internet security suite - comodo

COMODO INTERNET SECURITY PREMIUM - SUITE
 © Comodo Group, Inc. 2013


 VISIT THE HOMEPAGE !

tags : comodo , internet , security , anti , virus , software , best , free , download , top , ect 


Features  :  Default Deny Protection™ (DDP) , Prevention-based protection , Auto Sandbox Technology™ ,
Personalized protection alerts , Cloud based Antivirus , Spyware Scanning , Cloud based Whitelisting ,
Malicious website filtering and even more  .....

Posted By bhupinder singh 11:58 AM