Javascript : How To Disable ctrl+c and ctrl+u On Your Website


There are cases where you don’t want users to copy your content or view source in your website. So to do this just add the below piece of javascript code in your website and its done.


jQuery(document).ready(function($){
    $(document).keydown(function(event) { 
        var pressedKey = String.fromCharCode(event.keyCode).toLowerCase();
        
        if (event.ctrlKey && (pressedKey == "c" || pressedKey == "u")) {
            alert('Sorry, This Functionality Has Been Disabled!'); 
            //disable key press porcessing
            return false; 
        }
    });
});

Note: You can’t protect your source.

Tagged with:
Posted in Javascript

Javascript : How To Disable Right Click On Your Website


There are cases where you don’t want mouse right click to work in your website so to do this just add the below piece of javascript code in your website and its done.


jQuery(document).ready(function($){
  document.oncontextmenu = function() {return false;};
  
  $(document).mousedown(function(e){ 
    if( e.button == 2 ) { 
      alert('Sorry, Right Click Has Been Disabled!'); 
      return false; 
    } 
    return true; 
  });
});
Tagged with: ,
Posted in Javascript

Tips To Check 2G/3G Internet Data Balance in Aircel, Reliance


Many people find it difficult to check their remaining Internet data pack because they don’t know Sim card service numbers or codes to check remaining net balance. This article guides you how to check 2G/3G Internet data balance in Aircel and Reliance.

How to Check 2G & 3G Internet Data Balance In Aircel:

Dial USSD *122*011# to Check 2G & 3G Internet data Balance in Aircel.

It gives not only your remaining data but also your expiry date of your data pack.

Note : Recently Aircel has changed its code. Now the above code works only for “Unlimited data packs”. If you have limited data packs then know the new code *400#

How to Check 2G & 3G Internet Data Balance In Reliance:

Dial USSD *111*1*3# to Check 2G & 3G Internet data Balance in Reliance.

Don’t forget to like and share this useful info with your friends.

Tagged with: , , ,
Posted in Mobile Tricks

How To Unsubscribe All Value Added Service(VAS) for Aircel And Docomo


Just Dial 155223

or

send SMS STOP to 155223 to unsubscribe all the value added services for your number.

Note : This trick works fine on major mobile operators in India.

Tagged with: , , ,
Posted in Mobile Tricks

How do I delete a Page in Facebook?


To permanently delete your Page:

STEP #1 : From the top of your Page, click Edit Page
STEP #2 : Select Edit Settings (step 1 & 2 can be seen in the below image)
DeleteFB-Page

STEP #3 : Now you see an option called Remove Page with Edit option as shown below

DeleteFB-PageEditOptions

DeleteFB-PageEditOptions

Clicking on Edit gives an interface something like below image

DeleteFB-Page-Permanently

DeleteFB-Page-Permanently

 

STEP #4 : Click Delete [Page name], then click Delete Page to confirm
You also have the option to unpublish your Page so that it’s only visible to Page admins. If you choose to delete your Page, keep in mind that this is permanent.
If you like this content, don’t forget to click on like and share with your friends.
Posted in Facebook Tricks

Steps To Hard Reset Samsung Galaxy Grand Duos GT-I9082?


You might have locked your phone trying too many pass code or pattern attempts.Only way you can get access to your device back easily is to hard reset your phone unless your phone’s mobile network was on before locking, if so you can get a temporary password in your mail.

Note:- Try this at your own risk and carefully.You may select another option by mistake and anything can happen to you device.

Just follow the below steps

I used the below steps to reset my Samsung Galaxy Grand

STEP #1 Switch off your Phone Using Power Button.

STEP #2 Press and Hold Volume-Up+Power+Home Button at the same time.

STEP #3 Wait for a while and you’ll see Android logo.Then release all buttons.

STEP #4 Touch screen won’t work while accessing this page.Use volume up/down to choose options.

Read Full Here

Tagged with: ,
Posted in Mobile Tricks

How to Track and Control Samsung Galaxy Devices Remotely


Many times we keep our mobile devices somewhere and forget and then we search it by giving a miss call to that device. But if we lost it or stolen then this trick doesn’t work.

LocatMyMobile

LocatMyMobile

Well…you don’t need to worry anymore about getting your Samsung Galaxy device stolen or losing it because samsung provides a way to control devices remotely to its users through it SamsungDive service that too free of cost. The options that you get to control remotely are as follows :

RemoteControlOptions

RemoteControlOptions

Just follow the below steps :
Step 1: Check to see if you have one of the supported Samsung Galaxy devices. SamsungDive currently supports the Galaxy SII,Galaxy SIII, Galaxy Grand, Galaxy R, Galaxy W, Galaxy y, Galaxy y Pro, Galaxy Tab 10.1 and Galaxy Tab 8.9 and more…(It may change in the coming time, more devices can be added).
Step 2: Make sure you’ve registered for a Samsung account and that you’re logged into both your Samsung and Google accounts. To add a new Samsung account,go to Settings > Accounts and sync > Add account > Samsung account

Add Account

Add Account

Step 3: Enable “Remote controls” and allow Google to use location services. Go to

Settings > Location and security,

and make sure the boxes for “Use wireless networks” and “Remote controls” are checked.

Enable Remote

Enable Remote

Step 4: Go to to the SamsungDive Web site and log in with your Samsung account.

Step 5: To track and control your Galaxy device, click through each tab on the left and follow the instructions for each action.

Track

Track

Track and control your lost or stolen Samsung Galaxy device remotely.

And its done!!

Tagged with: , , , ,
Posted in Mobile Tricks

How to Delete Apps From Your Facebook Profile Permanently


In the present days the application on facebook are quite popular and  you get new invitation to join those new apps everyday. But once you join the application, you get notifications and updates related to that apps every day. With some of apps its good but not for all the apps. So here is the way how you can delete those unwanted apps permanently.

STEP #1 : Sign into facebook.

STEP #2 : Then go to Account Settings (Below image may help)

FB-AccountSetting

FB-AccountSetting

STEP #3 : Having gone to the Account Settings page you see an option called Apps in the left side bar like in the image below. Click on the Apps and follow the next step.

FB-Apps

FB-Apps

STEP #4 : This is the main and final step to delete the apps. Here you see something like the below image on your screen. Here is the listings of all the apps that you use or used. If you can’t see the app that you are looking for to delete then don’t worry, see below there is an option that says Show All Apps (see in the image below), just click on that and you get listings of all the apps.

Here with every app you see a rightmost column Edit, in which you have two options :

             1. Edit : Click on it  and make the changes as you want for apps.

FB-AllApps

FB-AllApps

               2. A Cross Sign : Yes, this cross sign (As shown in the image below) is for deleting that app permanently. Clicking on that Cross Sign will show you a pop-up that asks you to confirm. Simply Check the box and Click on the Remove button (see the image below).

FB-RemoveApps

FB-RemoveApps

Congratulations!! You have deleted the app permanently.

If you like this post and find it helpful then don’t forget to like and share it with your friends.

Tagged with: ,
Posted in Facebook Tricks

Facebook Developer : How to Get User Name Using Facebook User ID


When you are developing a facebook app, in many cases u need to know the name of the user. Normally you get it if the user gives the basic permission. But if you don’t want to store the name of the user you just want to store the user ID only and later when you need the Name of the user then you can get that easily and anytime. Below is how you can get it in PHP.


$user_details_encoded = file_get_contents("https://graph.facebook.com/User_ID?fields=name");  
$user_details_decoded = json_decode($user_details_encoded,true);
$user_name = $user_details_decoded['name'];

Here $user_name gives you the name of the required user.

Tagged with: ,
Posted in Facebook Apps Development