Monday 29 February 2016

Top 10 Websites to Learn Ethical Hacking Online For Free

Here are top 10 websites to learn ethical hacking –


1. CEH: Certified Ethical Hacking Course

top 10 websites to learn ethical hacking
This is a certified brand to learn ethical hacking online. On this website, you will find a comprehensive resources to learn the white-hat hacking. This website provides you tutorial from the beginning.
this is the world’s most advanced ethical hacking course with 20 of the most current security domains any ethical hacker will ever want to know when they are planning to beef up the information security posture of their organization.Top 10 Websites To Learn Ethical Hacking.

top 10 websites to learn ethical hacking
you will learn some great ways to hack network, software, database, websites etc. The authors of this website offer great tutorialdaily. On this website, you’ll be able to find the article related to different categories of ethical-hacking.This website is great for beginners.you’ll be able to learn latest tips and tricks.Top 10 Websites To Learn Ethical Hacking.

top 10 websites to learn ethical hacking
This is the website for both beginner as well experienced. On this website, you will find article related to hacking on the basics of different category. Some of the hacking categories includes like Email hacking, Internet hacking, website hacking etc.with this site,you can learn new tips and tricks of hacking and about of new networking tools. Top 10 Websites To Learn Ethical Hacking.


top 10 websites to learn ethical hacking
On this website, you will found hack tips, tricks, guides, how-to guides that may create interest in you to learn hacking. In addition to its beautiful color and design, all the articles have been clearly categorized.Hack a day serves up Fresh Hacks Every Day from around the Internet.
you can learn how to fixes bugs and website security. hack a day’s playful posts are the gold-standard in entertainment for engineers and engineering enthusiasts. Top 10 Websites To Learn Ethical Hacking.

top 10 websites to learn ethical hacking
This is another good website to learn ethical-hacking from the beginning. This website provide you articles like security, penetration testing and many others to improve your security and privacy.
this website is very useful who want learn penetesting. this website have many tutorials on xss and networking. this website have advance knowledge about windows hacking.Top 10 Websites To Learn Ethical Hacking.

top 10 websites to learn ethical hacking
This is very popular website to enhance your hacking skills. You will learn a number of tutorial related to security, networking,hacking etc.its use three easy methods learn,practice and use.its have easy learning tutorial.
The Hacker Academy provides a unique learning experience, teaching infosec  from the hacker’s perspective.Top 10 Websites To Learn Ethical Hacking.
top 10 websites to learn ethical hacking
If there is any community forum for hacking, then this is Evil-Zone hacking Forum. On this website, you found more than 70,000 posts and over 16,000 members.Evilzone Hacking Forum have very useful tutorials and you can learn easily with this site.
If you have any problems in network security, programming related questions, hacking related queries, then you can found the solution from this website.Top 10 Websites To Learn Ethical Hacking.

top 10 websites to learn ethical hacking
This is another great place to learn ethical hacking. This website is completely free and safe to use and provide training to many young hackers. This website also provides you a supportive forum where you can share various issues related to the networking, security, hacking etc.
Hack This Site is a free, safe and legal training ground for hackers to test and expand their hacking skills. More than just anotherhacker wargames site. they are a living, breathing community with many active projects in development, with a vast selection ofhacking articles and a huge forum where users can discuss hacking, network security, and just about everything. Tune in to thehacker underground and get involved with the project.Top 10 Websites To Learn Ethical Hacking.

top 10 websites to learn ethical hacking
Hacking Loops is the website to solve the most difficult and powerful issues related to hacking. From this website, you learn hacking with a great interest.you can learn about viruses,malwares and about how to protect your system from it.Here you will find article like “How to stop virus or Trojan attacks?”, “Facebook account password hacking tech” etc.
Hacking Loops is best online ethical hacking website.hacking loops have a good collection of tutorial on ethical hacking.Top 10 Websites To Learn Ethical Hacking.

top 10 websites to learn ethical hacking
The authors of this website will regularly organizing Seminars, conferences in Malaysia, Netherlands etc. countries to makinghacking as profession. You will learn  tutorial related to networking, database security etc from this website.this website have advance knowledge about networking and database security.
These are the best place to learn ethical hacking.A great hacker has his own way for hacking

Mobikwik LEAP29 – Get 100% Cashback On Recharge And Bills Payment Of Rs 100

Mobikwik is back again with a new offer. Now get 100% cashback on recharge and bills payment of Rs 100 or more. This is an amazing offer. You can get upto Rs 100 cashback. Offer is valid for first 2900 users only.
mobikwik 100% cashback offer
How To Get 100% Cashback On Recharge & Bills Payment Of Rs 100 At Mobikwik :-
2) Login or signup
3) Initiate recharge & bills payment of Rs 100 or more
4) Enter your details
5) Proceed and apply promo code :- LEAP29
6) Pay the amount and complete your transaction.
You will get 100% cashback in your mobikwik wallet within 24 hours.
Terms & Conditions :-
1) First 2,900 users will get 100% cashback on recharge & bill payments, DTH, Utility payments done on MobiKwik App & Website.
2) Offer Valid only today ie. 29th Feb, 2016.
3) Use promo code: LEAP29 to avail the 100% Cashback.
4) The Code can be applied any number of times and valid on ALL operators.
5) Maximum cashback amount is fixed at Rs.100
6) Minimum amount spend to redeem the offer is Rs.100
7) LEAP29 is an Apply only Code. The user will receive *Coupon Applied Successfully* message which only means that the user is successfully registered for the campaign.
8) Sign Up platform, Coupon Redemption and Payment should be done on MobiKwik’s Android & iOS App and Website.
9) The cashback will be credited to the eligible users within 24 hours ie. by 1st March 2016.
10) Leap towards your 100% Cashback NOW

Requirements To Note Before Applying Google Adsense



1. Contact Us / About / Privacy Policy Pages

There three pages are very essential to get approve Adsense, lot of time I reject from Adsense due to this mistake, lot of newbie doing this mistake and they are rejecting from Adsense many times, so you need to make there three pages simply in contact simply write your name, E-mail address Cell phone, Give Facebook contact address, Twitter Address, G+ address or simply create Contact Me from. Next is About mean write little biography about your website that what type of services you are providing. Last one is Policy Privacy mean what are you blog policies etc…

2. Minimum Number of Posts


May be you are not agree with me on this point, lot of my friends having more then 100 post but they can’t get Adsense and many friends have around 40 to 50 post they are enjoying Adsense earning, so mean to say that quantity doesn’t matter quality matter, if you have well written and well optimized contents then you can approve if you have 40 to 50 post. Never apply for Google Adsense if your blog has less content and is not optimized according to Google terms and Conditions. So there is no specific limit that should be before applying for Adsense.

3. Traffic


Lot of people consider that traffic doesn’t matter 😀 no dear traffic matter much, if you have more then 100 post and you have 50-100 visitors per day then how you will get Google Adsense? You should have approximately 1000 visitors per day, page view doesn’t matter much, and in traffic above then 70% traffic should from search engine

4. Domain Name


Buy your own level domain mean self hosted domain and a reputable webhosting service, like Godaddy, Bluehost, Hostgator. You will never approved on sub domains or on blogger, so always try to buy .COM domain name, if you will have commercial (.com) domain then you will get adsense easiliy.

5. Design

Its very important step I think so, lot of newbie even old blogger don’t care to much but believe me its not only important it’s essential for your website that should user friendly, it may not possible to reach your original content user have to cross many steps. So you need to keep your website simple, easy, user friendly.

6. First 3 Months

Google Adsense policy is 6 months but I suggest you first three months, in first three month you need to do burn midnight oil mean your full effort, first three month don’t give your attention toward earning give full attention on dragging more visitors, once you get more visitors then go for Adsense other then you will just reject nothing more.

7. Other Ad Networks

Before going to apply for Adsense make sure that you are not advertising of any other Network, if you are advertising then stop it because at a time two program can’t be run so it’s important for you because lot of newbie try to earn by both hand they are advertising of two or three networks which is against Adsens policy.

8. Name/ Email / Age Verification


Before submitting you application make sure that you name is correct because after submitting application your name can’t be change, verify you age that you are above 18 or not if you are not then you will not get payment, and last is verify your e-mail address and after that submit your application.

Some Of My Personal Advice :

  • Use Top Level Domain Like Dot.com dot.org
  • Blog Posts Not been too small.
  • Avoid adult materials.
  • Blogger blog must be 6 months older.
  • Avoid Copying  Other blog post's - Check Your Copy Pate work Here{Link} having More Than 10 Contents Bloggers, Not Getting approval http://www.copyscape.com
  • Use Responsive Blogger Templates.
  • You Must 18Yrs Old.

Freecharge HyperCity Offer – Get 50% Cashback On Your HyperCity Bills

Freecharge HyperCity Offer – Get 50% cashback on your hypercity bills. This is an awesome offer from freecharge. Hypercity stores are the best shopping stores in which you can do shopping and get cashback on your purchase. You can get upto Rs 200 using freecharge hypercity offer. You can purchase any product at hypercity and pay using freecharge wallet to get 50% cashback in your freecharge wallet.
Get 50% Cashback On Your HyperCity Bills

How To Get 50% Cashback On Your HyperCity Bills Using Freecharge Wallet :-

1) Go to your nearest Hypercity store (Source Page)
2) Do your shopping
3) During doing payment, tell me that you want to pay using freecharge wallet.
4) Enter your freecharge account mobile number and your PIN
(You will get your freecharge PIN under “Pay at Merchant” option in freecharge updated app)
5) That’s it. Your payment will be done.
You will get 50% cashback in your freecharge wallet within 24-48 hours.
Terms & Conditions :-
1) Transact at HyperCity stores in India using FreeCharge Wallet as the payment mode & Get 50% Cashback, max cashback capped to Rs.200 per transaction.
2) Cashback offer can be availed on first transaction at HyperCity stores, capped to once per unique FreeCharge Wallet Account holder.
3) On successful transaction customer gets cashback as balance in the FreeCharge Account within 72 hours which can be used for future transactions across merchants establishments accepting FreeCharge as a payment mode.
4) Cashback Offer is valid during the promotional period from till 13th March, 2016.
5) Cashback Offer is valid on purchase of all products available at HyperCity stores and payment via FreeCharge Wallet.
6) Cashback Amount will be in form of e-Voucher and valid for 6 months from the date of credit in FreeCharge Account.
7) In case of order cancellation / refund, the cashback amount will be deducted from the total refund due.

Aircel New Working Unlimited 3G Trick With Fresh Configs [March 2016]

Am Back with New 3G Trick For Aircel Users With Fresh Vpn Configs, Its Working fine in tamilnadu with 400-500kbps in Both Mobile/Pc. 




Features of Aircel 3G Trick:
  • Unlimited Download.
  • No speed capping.
  • High speed.
  • Torrent Supported.
  • Disconnection Free . 
Requirement:

  • Aircel 3G Enabled Sim card [ For Activation Type "START3G" to "121"].
  • Maintain main balance of Rs. 0 , No Data Pack Required if you don't want to cap your 3g speed .
  • Apn: aircelgprs or aircelwap
  • High Speed based on your network signals


How To Use This Vpn Configs In Mobile:

  • Download and extract config in SD card.
  • Download FeatVpn / Droid Vpn Or OpenVpn.
  • Go to this link for direct download open vpn for android.
  • Open Feat Vpn or other in you android device.
  • Add aircel 3G Vpn Config to open Vpn folder or Upload Config file from your sd card to featvpn .
  • Run and Enjoy :)
  • Or You Can Install Direct Finchvpn sign in and connect.
How To Use This Vpn Configs In Pc:

  • Download The Attachment of aircel 3G Trick.
  • Install Nmdvpn and Put configs Here (C:\Program Files\NMDVPN\config)
  • Windows 7 and Windows 8 Users RUN NMD VPN as the Administrator.
  • Just Connect and Enjoy.


Just Connect And Enjoy Unlimited Browsing And Downloading..
Working Fine In Tamilnadu...

Sunday 28 February 2016

Wapka Latest Forum Updates Code With Paging

Follow The steps below to successfully design a nice forum updates in your wapka site/blog.

STEPS TO FOLLOW :-

  • At First , make 2 new pages via edit site>>new page which named is 2&3 use below code in your homepage with editing something 



  • Now Change Forum Id With Your Desired Forums. Now Change Site 1,2,3 With Your Site Id Which You Create In Your First Step.
  • Now Open Page - 1. And Paste Below wml/xhtml code.


  • That's All. Now Save It. And Enjoy your latest forum updates code.
  • For Nice css, change div classes with your site classes.
  • Change Time syntax to "--" in Your site For showing Updates In Minutes Ago & Hours Ago Like This...

Airtel New Working Unlimited Direct 3G Trick For Mobile/Pc Users [March 2016]

Requirement For this AirTel 3G Direct Trick:
  • AirTel 3G Enabled Sim card.
  • Maintain main balance of Rs. 0.
  • Apn: airtelgrps.com
  • Speed Up to 1Mbps Tested on In 7.2 Mbps Modem In Tamilnadu.


How To Use In Pc / Mobile users: 
  • Download Pd Proxy From Here .
  • Install in your Pc If you want to use in android, use droid vpn.
  • Connect Internet then try to connect pd proxy ( First Set udp 0 )
  • If any port found then stop connecting and now use internet till disconnect.
  • If port not found then disconnect net and connect again . (keep trying connect and disconnect)

  • Once Port found then stop connecting
  • Now Browse internet. Unlimited...  
Working With More Than 1mbps speed. 
Torrent Supported.

UrbanHopperz App: Download and get 20rs on signup + 20rs per refer


Steps to get 20rs signup bonus from UrbanHopperz app

  • Download UrbanHopperz app Android
  • Open and select your desired location. 
  • Now go to Menu>Log In Signup with your google/facebook account and enter your mobile number 
  • To earn 20rs bonus enter this refer code REF494904291 In refer code section. 
  • Now verify your mobile number soon you will get msg of crediting 20rs signup bonus 
  • You just got Rs 20 credited in your wallet Now shop conveniently and get the best in the city delivered at your door. 
  • No minimum order. No Maximum Distance. 
  • You can also refer your friends to UrbanHopperz and get Rs 20 credited for every install. Your referred friend gets Rs 20 in their wallet as well. 


Steps to Refer and earn 20rs per refer 

  • Go to Menu>Refer and Earn 
  • You will get your refer code like this REF547853622 
  • Now share it with your relatives You will Get Rs. 20 credited in your wallet with every download and let your referred friend enjoy 20% off on their first order using Hello20. HURRY! Avail the offer and treat yourself today. YOU can also avail 20% off on your first order using Hello20 Keep referring, Keep earning. 

Freecharge Refer And Earn – Get Rs 50 Cashback On Rs 50 Recharge + Rs 50 Per Refer

FreeCharge Refer And Earn Offer – The fastest mobile app for online recharge & bill payments has come up with a new refer and earn program. Now get Rs 50 cashback on Rs 50 recharge and Rs 50 freecharge credits by referring each friend. This is an amazing offer. You can earn upto Rs 5000 freecharge credits by referring friends. You can also transfer your freecharge credits to your bank account easily.Offer is valid for Airtel users also.
Now you can use your old debit/credit card that you already used to avail freecharge refer and earn offer. All you need is to create new account.
freecharge refer and earn offer

How To Get Rs 50 Cashback On Rs 50 Recharge Using Freecharge Refer And Earn Offer :-

2) Open the app
3) Create new account
4) Initiate recharge of Rs 50
5) Enter your mobile number, operator
6) Proceed and apply freecharge promo code :- RMX6FPJ
7) Pay the amount using debit/credit card and complete your transaction.
You will get Rs 50 cashback in your freecharge wallet within 24 hours.
How To Refer Friends In Freecharge App :-
1) Click On Menu > Rewards > Refer and Earn
2) Copy your referral code and share it with your friends.
3) You will get Rs 50 per refer when your friend complete recharge of Rs 50 using your referral code.
4) You can earn upto Rs 5000 freecharge credits in one account by referring friends.
Terms & Conditions :-
1) Each unique number recharged during this offer is eligible for ₹50 cashback only once.
2) Offer is valid on minimum transaction value of Rs.50.
3) Offer is valid for new users on their first transaction only.
4) Offer is valid only once per credit card/debit card/mobile number.
5) Promocode has to be applied to avail the cashbacks.
6) Offer is not valid on Wallet cash, Netbanking & Virtual Card Transactions.
7) For every referred friend who recharges on the FreeCharge for the first time using your promocode, you (the referrer) will get Rs.50 as wallet cash.
8) Maximum amount of wallet cash that can be earned via referring friends is Rs.5000.
9) For all other queries please email care@freecharge.com
You can use your freecharge credits for recharge and bills payment or shop on snapdeal. You can also transfer freecharge credits to bank account officially or using freecharge Go Mastercard at oxigen wallet app or bookmyshow.
Happy Earning.. :)

Mobikwik KWIKFEB – Get 12% Cashback On Recharge And Bills Payment Of Rs 50

Mobikwik has come up with a new offer. Now get 12% cashback on recharge and bills payment of Rs 50 or more. You can get upto Rs 50 cashback on your recharge and bills payment. Offer is valid for all users except those who participated in Mobiwkik Valentine day offer on 14th – 15th February.


Get 12% Cashback On Recharge And Bills Payment Of Rs 50

How To Get 12% Cashback On Recharge And Bills Payment Of Rs 50 :-

2) Login or signup
3) Initiate recharge and bills payment of Rs 50 or more
4) Enter your details
5) Proceed and apply promo code :- KWIKFEB
6) Pay the amount and complete your transaction.
You will get 12% cashback in your mobikwik wallet within 24 hours.
Terms & Conditions :-
1) Get 12% cashback on recharge & bill payments done on MobiKwik App & Website
2) Use promo code: KWIKFEB to avail the offer
3) Maximum cashback amount is Rs. 50
4) Minimum amount spend to redeem the offer is Rs.50
5) Offer is not valid on AIRTEL.
6) Code is valid for all MobiKwik users except those who participated in VALENTINE campaign on 14-15th Feb.
7) This offer is only valid on 26th Feb 2016.Offer can be redeemed only ONCE per user during the offer period.
8) Sign Up platform, Coupon Redemption and Payment should be done on MobiKwik’s Android & iOS App and Website.
9) MobiKwik has the right to call back any offer on it’s sole discretion.

Airtel New Working TCP-VPN 3G Trick For Pc Users With Pd-proxy [March 2016]


Requirements :
  • Airtel 3G Enabled Sim Card.
  • Maintain 0 Balance in your Sim Card.
  • To get Full 3G Speed Recharge with some small 3G pack.

Steps To Use:-


  • First of all download and signup on PD-Proxy.
  • Then install and open pd proxy on your pc or laptop.


  • Now go to settings>>Advanced Settings , then click on parent proxy


  • Now tick on enable parent proxy and enter below details :-


  • PROXY: 188.138.61.118 [High-Speed]


  • PORT   : 3128


  • Now click on headers and add the below given details :-
Host: 125.21.246.113/
X-Online-Host: 125.21.246.113
  • Now save the settings and go back to pd proxy main page.
  • Then connect pd proxy using any server.
  • Thats all! You are done with this trick. Speed may Vary from state to state and of'course it is damn slow.

Saturday 27 February 2016

Steps To Make Your Own Working Google Chrome extension

What You’ll Need

  • Google Chrome.
  • Your favorite text editor.
  • A folder where the extension files will live.
  • An icon for the browser action, which is Chrome-speak for a button in the browser toolbar. This should be a 19 square pixel PNG. You can use this one if you’d like:
You can create all the files we’ll need now or as we move along... it’s really up to you. By the time we finish, our folder will look something like this:
  • event.js
  • icon19.png
  • inject.js
  • manifest.json
Ready? Let’s get started!

The Manifest File

Create a new file at the root of your folder and name it manifest.json. The manifest is the heart of any Chrome extension. It tells Chrome “here’s what I am, and here’s what I need to work.”
Let’s add some details to the file using JSON:
{
"manifest_version": 2,

"name": "background-colorpeek",
"version": "1.0",
"description": "Get every background-color from the current tab.",

"browser_action": {
"default_icon": "icon19.png"
},

"background": {
"scripts": ["event.js"],
"persistent": false
},

"permissions": ["<all_urls>"]
}
Most of these properties are self-explanatory, with a few exceptions:
  • manifest_version: This lets Chrome know what version of the manifest file format we are using. Version 1 was deprecated as of Chrome 18, so you should always use 2.
  • background: Information about the scripts our extension requires to respond to things like a click of the browser action. More on this later.
  • permissions: Because we want our extension to grab the background-color values from any URL, we need permission to interact with&lt;all_urls&gt;. If we wanted our extension to only work onhttp://www.tricksglobal.org, we could specify that instead.
There’s a lot more you can do with the manifest file, but that’s all our extension will need.

Script Gets Real

You’ll notice our manifest references a JavaScript file we haven’t created yet,event.js. Create it now, and let’s add some code to it:
// This function will eventually contain some logic
// for receiving background-color values from the
// current tab.
function getBgColors (tab) {
// But for now, let's just make sure what we have so
// far is working as expected.
alert('The browser action was clicked! Yay!');
}

// When the browser action is clicked, call the
// getBgColors function.
chrome.browserAction.onClicked.addListener(getBgColors);
This script is what’s known by Chrome (somewhat confusingly) as an event page. This means it will only run when an event the extension cares about occurs... in this case, the browser action being clicked.
Before we continue, we should load our extension in Chrome:
  1. Open up chrome://extensions/ (or click the rightmost menu button, then “Tools,” then “Extensions”).
  2. Make sure the “Developer mode” box in the upper-right is checked.
  3. Click “Load unpacked extension...” and select the folder you created earlier.
If all goes well, the extension should install like any other. Give the browser action (our icon) a click to see a wondrous alert:
Alert: The browser action was clicked! Yay!
Neat, huh?

Tab Talkin’

Now that our browser action is prepared to do our bidding, we need to retrieve CSS information from the current tab. To do that, we should understand a little about how Chrome extensions work relative to webpages loaded in tabs, and how the two can communicate.
Chrome was the first browser to popularize something we take for granted in desktop browsers today: The multi-process architecture. In Chrome, every webpage, add-on and extension gets its own process. This makes it really difficult for a single webpage or extension to crash your entire browser. But it also makes our event page a bit of an island... how do we act on the contents of a tab when that tab’s process is completely separate from event.js?
Bad news: We can’t.
Good news: We don’t need to, because Chrome supports passing messagesbetween scripts. We already have our event page, which we can use to sendmessages. All we need now is a script in the current tab that can receive them!
Author’s rendition of sendMessage in action.
Here’s how our nifty message-passing will work:
  1. When a user clicks the browser action, event.js will inject a new script into the current tab with instructions on what to do next.
  2. The injected script will do whatever it needs to, responding with the data we requested.
This means our extension will need one more file, inject.js:
// This helps avoid conflicts in case we inject 
// this script on the same page multiple times
// without reloading.
var injected = injected || (function(){

// An object that will contain the "methods"
// we can use from our event script.
var methods = {};

// This method will eventually return
// background colors from the current page.
methods.getBgColors = function(){
var nodes = document.querySelectorAll('*');
return nodes.length;
};

// This tells the script to listen for
// messages from our extension.
chrome.runtime.onMessage.addListener(function (request, sender, sendResponse) {
var data = {};
// If the method the extension has requested
// exists, call it and assign its response
// to data.
if (methods.hasOwnProperty(request.method))
data = methods[request.method]();
// Send the response back to our extension.
sendResponse({ data: data });
return true;
});

return true;
})();
Now we have a script that’s ready to receive commands and return data. Let’s update event.js  to take advantage of that:
// Execute the inject.js in a tab and call a method,
// passing the result to a callback function.
function injectedMethod (tab, method, callback) {
chrome.tabs.executeScript(tab.id, { file: 'inject.js' }, function(){
chrome.tabs.sendMessage(tab.id, { method: method }, callback);
});
}

function getBgColors (tab) {
// When we get a result back from the getBgColors
// method, alert the data
injectedMethod(tab, 'getBgColors', function (response) {
alert('Elements in tab: ' + response.data);
return true;
});
}

// When the browser action is clicked, call the
// getBgColors function.
chrome.browserAction.onClicked.addListener(getBgColors);
Reload the extension from chrome://extensions/ and try the browser action on any webpage. You should see a message with the number of HTML nodes therein, which means we’ve successfully interacted with the tab! Woo-hoo!

Finally Doing Something Cool

All the pieces are in place. It’s time to actually do what we set out to do:
  1. When the browser action is clicked, determine all the background-colorvalues of the current tab.
  2. Build a Colorpeek URL based on those values.
  3. Open that URL in a new tab.
There’s very little magic from this point forward... it’s really just JavaScript (and not even fancy jQuery). Here we go...
Open inject.js again and update the getBgColors method:
// Return all of the background-color values
methods.getBgColors = function(){
// Stores the colors and the number of occurrences
var colors = {};
// Get all the nodes on a page
var nodes = document.querySelectorAll('*');
// Instantiate variables we'll use later
var node, nodeArea, bgColor, i;

// Loop through all the nodes
for (i = 0; i < nodes.length; i++) {
// The current node
node = nodes[i];
// The area in pixels occupied by the element
nodeArea = node.clientWidth * node.clientHeight;
// The computed background-color value
bgColor = window.getComputedStyle(node)['background-color'];
// Strip spaces from the color for succinctness
bgColor = bgColor.replace(/ /g, '');
// If the color is not white or fully transparent...
if (
bgColor != 'rgb(255,255,255)' &&
!(bgColor.indexOf('rgba') === 0 && bgColor.substr(-3) === ',0)')
) {
// ...set or override it in the colors object,
// adding the current element area to the
// existing value.
colors[bgColor] = (colors[bgColor] >> 0) + nodeArea;
}
}

// Sort and return the colors by
// total area descending
return Object.getOwnPropertyNames(colors).sort(function (a, b) {
return colors[b] - colors[a];
});
}
We’re almost done! Now update the getBgColors function in event.js:
// Get background-color values from the current tab
// and open them in Colorpeek.
function getBgColors (tab) {
injectedMethod(tab, 'getBgColors', function (response) {
var colors = response.data;
if (colors && colors.length) {
var url = 'http://colorpeek.com/#' + colors.join(',');
chrome.tabs.create({ url: url });
} else {
alert('No background colors were found! :(');
}
return true;
})
}
Reload the extension and give it a try. If it works, go get yourself a beverage to celebrate your new-found ability to make Chrome extensions!