[Chrome Packaged App] Mirror Mirror (WebRTC Experiment)

Hello everyone,

Tonight I was trying to finish one of my extensions Mirror Mirror, which does nothing more then just show you, yourself xD really useless extension xD.

Well I was enthusiastic because of the new WebRTC  API and that was the whole reason why I started the extension, but today I found out that chrome extensions still don’t support WebRTC!!!!!! (Men don’t cry).

But then I’ve heard that packaged apps support the WebRTC  API so I thought why not do an packaged app instead? hmmm…. and yeah I did it!.


Okay, the baby is cool…. so here’s the app, if you ever have to run out for a date xD or whatever else and need to check fast how you look, use it. In case you don’t have real mirror emmmm.

Link to packaged app: https://chrome.google.com/webstore/detail/mirror-mirror/fejppkniooabkfljalenaojjjhaadhbi?hl=en-US

And as usual a screenshot:


If anyone, likes the app and has ideas or some feedback feel free to comment.

P.s. If the app doesn’t function you either have no webcam or your browser doesn’t support it yet.

Password complexity rating by Google

Hello everyone,

Well here’s another fast post for tonight, I was just resetting a password to one of my gmail accounts, and while doing that I’ve noticed a few AJAX requests that were been made by gmail while i was typing the new password.

Hmmmm I thought, let’s take a look at the requests that are being send (“The Prodigy – Voodoo” playing in the background I get the feeling….), and voila I found out how Google rates it’s password complexity.

It does a post request to this URL:


which returns then a integer value between 1 and 4, so why not use Google to rate the password complexity? when your to lazy to do it yourself.

Almost forgot here’s also the function used by Google to show you how strong your password is by showing you a message and a progress bar indication.

function updatePasswordBar(rating) {
var ratingClasses = new Array(6);
ratingClasses[0] = ‘short’;
ratingClasses[1] = ‘weak’;
ratingClasses[2] = ‘fair’;
ratingClasses[3] = ‘good’;
ratingClasses[4] = ‘strong’;
ratingClasses[5] = ‘notRated’;

var bar = document.getElementById(‘strength-bar’);
if (bar) {
var message = document.getElementById(‘passwdRating’);
var barLength = document.getElementById(‘passwdBar’).clientWidth;
bar.className = ratingClasses[rating];
if (rating >= 0 && rating <= 4) {
bar.style.width  = (barLength * (parseInt(rating) + 1.0) / 5.0) + ‘px’;
message.innerHTML = ratingMessages[rating];
} else {
bar.style.width = 0;
rating = 5;

I’m not telling you to use Google’s service to rate password complexity, I’m just showing you where Google does it.

So I’m not responsible if the FBI runs into your home one day, and you’ll end up in a cold cell, where you get tortured each day for using Google’s stuff MUHAHHAHAHAHHAHAH!

crazy laugh


And also are some screenshot’s  of the AJAX Requests because I looks so much geekier (^.^)

Google 1

Google 2

[Android] WebView unable to write into input fields

Hello everyone,

Today I have a quick post with a solution to a problem i recently had ( a dumb one )…

I was working on an Android application in which I had to display a WebView which loaded a page, everything looked nice and it was free to go!…but then wait!

I was unable to type into input fields, and the horror started (Ahhhhhh!). I’ve went through searching and reading so many articles on similar problems, I even went through the Android documentation searching wherever I’m forgetting to set a property in the WebView.

But nahh no solution worked (At least I learned a bunch of stuff while reading and trying 😉 ), so I went into hardcore debugging mode NA NA NA NA!, I went through checking every single JS file and every CSS file on the page if there might be something wrong…. and BAM! there it was…. As I didn’t like the border when selecting text on the page I had previously used a CSS property to disable user selection….  ( ̄□ ̄;)


-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;

This little property caused me a headache…, believe it or not. After finding the solution a good friend of mine gave me the idea to post this into my blog, in case somebody else might have the same problem, and this could be the solution to it.

So here you go, If someone find this one useful, please let me know so we can laugh together on how funny the solution was.  (⌒▽⌒)