Showing posts with label browser. Show all posts
Showing posts with label browser. Show all posts

Tuesday, September 2, 2014

Poor man's responsive web testing

Websites use to be easy to make and test but with the rise of mobile devices has slightly complicated things. This is the whole responsive web design thing.

Now I bet you've typed "browser responsive testing" into Google and found Browser Stack. And I bet you found out they are not exactly cheap. So we do the next best thing and setup Matt Kersley's solution.



Matt also has a github repo for this with instructions to have it installed locally. You can do this by either setting up a XAMPP install or local apache.

Not exactly pixel perfect but close enough.

Happy testing!

Tuesday, March 12, 2013

Timed redirect without the php, javascript fuzz

Having worked on a few MVC projects in different languages like PHP, C# and Java, there always that "thank you" or "success" page you show after successful operation like an insert or update. Often these pages are automatically redirected to some URL after a set amount of time, normally 10 - 15 seconds. Normally, I use javascript; Something like this:

 <script type="text/JavaScript">  
 <!--  
 setTimeout("location.href = 'http://google.com';",1000);  
 -->  
 </script>  

It works but then I found out there's an easier way to do this via a HTML meta tag. Wikipedia explains it here. This one just automatically redirects you to google.com after 10 seconds.

<meta http-equiv="refresh" content="10;URL='http://google.com/'">  

It does have drawbacks but it works and I don't have to really concern myself if the browser's javascript is on or off.

Saturday, March 31, 2012

What the heck is a RockMelt?

The Rockmelt Browser
Most recently, a friend pointed me to Rockmelt. It tags itself as a Wowser. I don't know how the marketing guys come up with that but technically is just a fork of the Chromium browser which the Google's Chrome browser calls papa. Don't see this as a bad thing, Chromium (and by extension Chrome) are pretty stable and fast browsers. Rockmelt is the same thing its a just as fast. Rockmelt is just customized to do a particular thing - social web surfing. It directly integrates to Facebook, Twitter, 9gag, etc. in this nifty sidebar widget thing on the left. A direct share button is pretty nice feature and a Facebook chat on the right sidebar.

But Rockmelt inherits one of Chrome's bad characteristics. It's memory-hungry.  Each widget spawns its own process, sure it makes the Rockmelt run fast but I would be hard press in recommending it to be installed on a budget notebook with only 1 GB of RAM or less. I come across a lot of these 11-13 inch notebooks in my work.

Installing Rockmelt is no big deal, its free and the installer is like 600kb. The installer is one of those file tractor pullers - you run the installer and it then down loads the rest of the browser. No biggie.

After that, you get to a first-run wizard, it ask for your facebook login, this is where it get hairy for some of us, Rockmelt basically want all the rights. If you're concern about privacy, this page will make think about why you got Rockmelt. I already know of a guy who said no and uninstalled Rockmelt.Then you move to a page where you pick a bunch of "Apps" to be added to your Rockmelt.

The Apps here are more of RSS readers allowing you see if there's anything new on that site. Think of them as direct views into the associated site. You have a lot of choices, from Tumblr, Twitter, Pixable, Mashable!, etc. But some apps have direct interaction to the sites, for example Twitter, you can post tweets directly from the Twitter app inside Rockmelt.

Once done it works like another browser but with a direct connection to Facebook.

Which leads me to "the" question: is it worth it? Nothings seriously wrong with it. It did crash a few times but only the tab causing the crash was lost not the whole browser. Nothing serious. A few people will find the permissions page during installing a bit unnerving. Reminds me of that phrase: "signing your life away."

Overall?

Get Rockmelt if basically your homepage is Facebook or you check your Facebook every chance you get and you're not a privacy rights Nazi. Which I think is an oxymoron if I ever seen one. It's already a pretty fast and stable browser. Who knows, it might make you more "productive" but that's a long shot.