Saturday, December 15, 2007
Monday, September 17, 2007
Sunday, June 17, 2007
AMUL : The Taste Of India
On Super Jumbo A380 Airbus double-decker the world's largest civilian passenger aircraft in India for first time - May' 07.
Mayawati leader of Bahujan Samaj Party (BSP) becomes Chief Minister of Uttar Pradesh for the fourth time after her party's splendid Assembly Election success - May 2007.
Richard Gere Hollywood actor and Shilpa Shetty Bollywood actress in a controversial incident in public at an AIDS function in India - May, 2007.
Underworld don Dawood Ibrahim's sister Haseena Parkar granted bail in case of extortion, cheating & forgery - May '07.
Bollywood romantic comedy film CHEENI KUM (A Sugar Free Romance) in which superstar Amitabh Bachchan shares time with little girl his neighbour, suffering from leukaemia, wise beyond her years - June '07.
Load shedding in Mumbai & its suburbs and parts of Maharashtra due to power shortage - April '07
Indian Cricket Coach Mr. Greg Chappell resigns after debacle in ICC World Cup 2007 and bitter feud with players - April '07
Sanjaya Malakar youngest semifinalists in American Idol Season 6 - singing contest - April '07
On Bollywood superstars Amitabh and Jaya Bachchan's son Abhishek's wedding with Aishwarya at their residence Prateeksha in Mumbai - April 2007.
On Bollywood's comedy film Bheja Fry - May' 07.Wednesday, June 6, 2007
Sunday, June 3, 2007
Spyjax - Using AJAX to Spy your browser history!
If you’re like most web users, you assume that your browser history is private. For example if you visit an online store, you assume they can’t see if you’ve been looking at their competitor. Just a few weeks ago I assumed this was the case. Guess what?
Your browser history is not private!
In fact with a few well crafted lines of Javascript, websites can examine your browser history and record what pages you have been to. Keep reading and I’ll tell you exactly how it’s done and introduce you to a service that any webmaster can put on their site to see what pages their users have visited. I’ll also tell you exactly what type of information can be retrieved, and how you can protect yourself.
How JavaScript Can Be Used To Steal Your Browser History:
With CSS website designers can make links a different color if they have been visited by the user. For example this link should be colored differently than this other link. The first link you have been to before (it’s the page you are on right now) while the second link you have never visited (because it is fictitious). Now you’re thinking “but how can this be used to steal my history?”. Let’s dive a little deeper.
Example Code
The code to do this examination can be a little tricky due to cross browser issues. Here is a snippet of Javascript that can do the evaluation (based on the Hey you! Where have you been? blog post by Peter van der Graaf and script from Jeremiah Grossman and Robert Cabri):
function hasLinkBeenVisited(url) {
var link = document.createElement('a');
link.href = url;
document.body.appendChild(link);
if (link.currentStyle) {
var color = link.currentStyle.color;
if (color == '#ff0000')
return true;
return false;
} else {
link.setAttribute("href",url);
var computed_style = document.defaultView.getComputedStyle( link, null );
if (computed_style) {
if (computed_style.color == 'rgb(255, 0, 0)')
return true;
}
return false;
}
}
How To Stop People From Spying On Your Browser History
There are two sure fire ways to stop people from stealing your browser history.
The nuclear option is to disable JavaScript within your browser. In Firefox you’d just go to Tools -> Options -> Content tab and then uncheck “Enable JavaScript”. This method is very limiting because you probably enjoy all the JavaScript goodness on the web.
Limit your browser history. The less browser history you store the fewer URLs someone can steal from that history. In Firefox you can change the amount of browser history by going to Tools -> Options -> Privacy and then either uncheck the “Remember visited pages” checkbox or change the number of days that history is stored for.
More Information on Spyjax
Your browser history is not private!
In fact with a few well crafted lines of Javascript, websites can examine your browser history and record what pages you have been to. Keep reading and I’ll tell you exactly how it’s done and introduce you to a service that any webmaster can put on their site to see what pages their users have visited. I’ll also tell you exactly what type of information can be retrieved, and how you can protect yourself.
How JavaScript Can Be Used To Steal Your Browser History:
With CSS website designers can make links a different color if they have been visited by the user. For example this link should be colored differently than this other link. The first link you have been to before (it’s the page you are on right now) while the second link you have never visited (because it is fictitious). Now you’re thinking “but how can this be used to steal my history?”. Let’s dive a little deeper.
Example Code
The code to do this examination can be a little tricky due to cross browser issues. Here is a snippet of Javascript that can do the evaluation (based on the Hey you! Where have you been? blog post by Peter van der Graaf and script from Jeremiah Grossman and Robert Cabri):
function hasLinkBeenVisited(url) {
var link = document.createElement('a');
link.href = url;
document.body.appendChild(link);
if (link.currentStyle) {
var color = link.currentStyle.color;
if (color == '#ff0000')
return true;
return false;
} else {
link.setAttribute("href",url);
var computed_style = document.defaultView.getComputedStyle( link, null );
if (computed_style) {
if (computed_style.color == 'rgb(255, 0, 0)')
return true;
}
return false;
}
}
How To Stop People From Spying On Your Browser History
There are two sure fire ways to stop people from stealing your browser history.
The nuclear option is to disable JavaScript within your browser. In Firefox you’d just go to Tools -> Options -> Content tab and then uncheck “Enable JavaScript”. This method is very limiting because you probably enjoy all the JavaScript goodness on the web.
Limit your browser history. The less browser history you store the fewer URLs someone can steal from that history. In Firefox you can change the amount of browser history by going to Tools -> Options -> Privacy and then either uncheck the “Remember visited pages” checkbox or change the number of days that history is stored for.
More Information on Spyjax
Monday, May 14, 2007
BLOGGER'S BLOCK
I'd like to say I've been suffering from Blogger's Block, a real and serious condition worthy of capitalization, and maybe even a listing in Wiki. But unfortunately, I don't believe it exists.
Even its more famed and deadly cousin, Writer's Block, seems to me like a dressed-up name for fear. Or laziness. Or procrastination.
Or maybe it just means you really don't want to write at all. You want to think about writing--a much less taxing activity, that has never taken the life of a tree, or bored a single reader.
So no, I haven't had Blogger's Block. Instead, I've been conducting an unplanned (and highly successful!) experiment on the principle of Inertia.
So much of what I learned in grade school is lost forever, as I first learned when I tried to help my kids with their third grade math homework. Division of fractions? Huh? Did I ever do that? And how about diagramming a sentence? I'm sure there's a good reason to learn to do it, but I never knew what it was.
But I can still remember the morose Mrs. M. (who tippled in the paper closet,) teaching us that:
A body in motion remains in motion,
while a body at rest remains at rest
until acted upon by an outside force.
It has the kind of sing-song rhythm that made it memorable for those of us more inclined to poetry than science. If, say, the theory of relativity could have been encapsulated in a similarly catchy phrase, I might actually understand it.
But back to the scientific principle of Inertia. In life, it means something like 'if you don't begin your diet or your novel or your exercise program today, you're even less likely to begin it tomorrow...' And if you ignore your blog for five days or more, it soon becomes "a body at rest," stuck indefinitely on a poem about a bad mood.
Very interesting, no? I think it was Picasso who said that he painted every day because if he took a day off, he might never do it again.
There's a lesson in that, and now that I'm in motion again (I think), I just might take it.
Tuesday, May 1, 2007
ALL ABOUT SMOKING
Have you ever smoked heroin?
1. No.
2. I probably wouldn't be announcing it on the worldwide web if I did.(They arrest you for that kind of stuff, don't they?) Then again, I tend to be pretty naive. If I had heroin for breakfast, I'd probably be feeling the need to confess here and now.
And 3. They smoke it? Really? I thought they just "shot" it. Hmm...If I ever was going to use heroin in any form--which would probably only occur if I was terminally ill or all my loved ones were killed in a train crash--smoking it sounds more appealing than the vein-popping method.
The truth is I've never smoked much of anything. I never got the hang of inhaling noxious stuff into my lungs, and whenever I tried, I ended up embarrassing myself by choking, sputtering and hacking in front of the friends I was trying to impress with my cool.
It wasn't from lack of trying either. Growing up in a mill town, the art of cigarette dangling was practically de riguer. By the time I was thirteen, everyone I knew was packing Marlboros in their jacket pocket. I tried to cave in to peer pressure; really I did!
Unfortunately, like the much-ridiculed ex-President, I never inhaled. I did do a hell of a good imitation though (and I'm willing to bet that Bill did, too).
The good news is that faking it is not addictive, and I never got hooked. The bad news--if there is any bad news in NOT developing a deadly habit--is that my friends quickly tired of lending me their butts.
In other words, it was a short-lived phase.
When a joint was passed in college dorm rooms an at concerts , I quickly learned that pretending was even more necessary to my image than it had been when I snuck a feigned smoke outside the middle school. Fortunately, the light was provided by a candle or otherwise dimmed--or maybe everyone else was so high they didn't notice.
A few times, despite my ability to really inhale the stuff, I actually thought I was high, too. I giggled, I got the munchies--the whole routine. Now I'm left wondering if it was more a testament to the power of imagination than the trace narcotic I got from puffing.
I'll never know. But I do know how you tell a real smoker from a faker: We may puff, but we never purchase--particularly not when cash is scarce and the objects of my real addiction--chocolate chip cookies (!)--were available at the all-night snack bar.
Interestingly enough, most of my characters are mad smokers. But then, living in one of my books, has got to be pretty stressful. They are, after all, suspense novels.
The good news: my characters are among the most resilient and determined people I know, and every one of them is trying to quit...Maybe by the time I reach book #5 or 6, it will be a smoke-free world.
Subscribe to:
Posts (Atom)















