Saturday, August 2, 2014

Chrome Browser: hack yourself!

The fact that Google Chrome is mostly configured and handled in HTML and JavaScript pages itself make it a cool advantage if you want to play around. To be clear, yes, the Settings page is HTML, the History page, etc...

Since a while ago I was disappointed by the poor handling tool for history in Chrome. Now I learned the lesson, you have to inject JS code and get hacked, by yourself obviously jaja.

Interestingly, the History page is loaded into an iframe. If you want to have the iframe content at the current document you have to visit chrome://history-frame/
There, you can execute search queries using the textbox. In the past, If you wanted to select all the elements, that was not possible! What I'm sharing now it's just a simple JS code which selects all the checkboxes.

var inputs = document.getElementsByTagName('input');
for (var i = 0; i < inputs.length; ++i) {
    if (inputs[i].type == "checkbox") {
        inputs[i].checked = true;
Don't forget to enable the Delete button :)
document.getElementById("remove-selected").disabled = false

This is just a simply example. You can actually add a more complex logic about selecting or not a checkbox. And actually, you can inject JS code anywhere in Google Chrome, that'd do the trick.

I originally shared it in Stack Overflow to solve a concrete problem:

Wednesday, June 25, 2014

Google Gesture: sign language to voice

This is a product that Google introduced to help deaf and dumb people to communicate.


Tuesday, June 3, 2014

WWDC 2014 Opinion

There are hundreds of websites that summarize the cool new stuff that Apple show off in the latest WWDC. But there are not many of those which review and give opinion of what they introduce, so I'm going to give my personal opinion about that.

I really respect the new strategy that was introduce to the App Store in iOS. They are going to allow developers to get testers for free, and they can use this valuable tool to do testings focused on a group of people. That's really powerful.

Another cool stuff is the native integration iOS with OS X. The idea to bring each other closer for a seamless experience when you are doing something in one device and then change to other, like when you leave or arrive home, it's going to make life easier. Until now I used emails, or apps that handle notes, or even text files using a file sync tool.
The other positive tool related to this is the feature to handle phone calls and SMS from your Mac. This is not new, you could do this since many years ago, I used to do this with my first Nokia phone. But bringing it back to life is good, also been native is really cool. I know that there are a dozen of apps that do the same in Android, but any of those is native, and that's important. If you are going to trust someone(regarding data security), trust in native apps first.

In overall, I'm getting to like iOS and iPhone, I might be tempted to buy one, but Apple has to bring a device with a bigger screen. Small ones are not of my taste. I dislike the idea of having to pay for almost every app that you want to use, but It's not that bad if you think that you'd use an app for an year, and you are paying 5 dollars for that.