Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know this is evil and you should not do it, but just for the doability, here's a JavaScript that removes the censorings (like http://360gigapixels.com/tokyo-tower-panorama-photo/?v=-154....):

javascript:$("*").filter(function(){if(this.currentStyle)return this.currentStyle["backgroundImage"]==="url(http://360gigapixels.com/black.png)";else if(window.getComputedStyle)return document.defaultView.getComputedStyle(this,null).getPropertyValue("background-image")==="url(http://360gigapixels.com/black.png)"}).remove()



Oh and btw, they even show us where the censored parts are: http://360gigapixels.com/tokyo-tower-panorama-photo/tokyo.xm... (four nodes of type hotspot)


It seems odd they'd take this approach as opposed to manual processing of the output tiles.


$('*').filter(function(){if($(this).css('background-image').indexOf('black.png') != -1) return true}).remove();


I used native functions (for the styles) since they performed much faster in other projects where there were many DOM elements.


Maybe you should rather describe what it in the picture to satisfy reader curiosity.


On that particular link, a vague shirtless dude dressed in a towel at the kitchen sink.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: