Flickr is not usable with the new design, which is, btw, an example of the epidemy of moronic blunders made by big internet/computer companies: from Microsoft's Windows 8 Metro interface (created for cats and monkeys playing with tablets) to Opera 15 (a browser without... bookmarks - lol).
To get some of the old, normal usability of the Flickr website, you can add "?details=1" suffix to the profile address and "detail/" to the "set" view address. This script (which works also in old Opera) can be used to do it automatically. Install the script and and press the key "q" or "5" to get to the old design on "photostream" and "set" (sometimes you have to press the key twice or more times to get it quickly).
/Note: I changed the shortcuts from "f" and "3", because flickr uses "f" as "favorite" and 3 may be already taken in Opera , too)/
The script also allows to get to the bigger-size version of the pictures after pressing the same keys.
Another script below does this automatically after loading without the necessity to press any key (but may be buggy on some flickr pages).
▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
// ==UserScript==
// @name flickr
// @include *.flickr.com/*
// @exclude *.flickr.com/activity*
// ==/UserScript==
(function(){
if(/flickr\.com\/photos\//g.test(window.location.href)){
document.onkeypress=function(event){
var tag = event.target.tagName.toLowerCase();
if (tag === 'textarea' || tag === 'input') {return;}
//if (event.char == "f" || event.char == "3" || event.charCode == 102 || event.charCode ==51) {
if (event.char == "q" || event.char == "5" || event.charCode == 113 || event.charCode ==53) {
if (window.location.pathname.match(/\/sets\/[0-9]+/g) && (!window.location.pathname.match(/\/detail\//)))
{window.stop(); var loc=window.location.toString().replace(/with\/\b[0-9]{10}\b\//g,'');
window.location = loc + 'detail/'}
else if (/\/[a-zA-Z0-9@]+\/[0-9]+\/(in\/)?/gi.test(window.location.pathname) && !/\/sizes\//gi.test(window.location.pathname)) {var loc = window.location.toString(); loc=loc.slice(0,(loc.indexOf('/in')));
window.location=loc +'/sizes/l/in/photostream/'}
else if (! /\/in\/|\/detail\/|\/sets\/?|stats|activity|galleries|organize|favorites|map|friends/gi.test(window.location.pathname) && !/details=1/gi.test(window.location.search))
{window.stop(); window.location += '?details=1';}
}
}
}
})();
▐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
The script works automatically after loading :
▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
// ==UserScript==
// @name flickr
// @include *.flickr.com/*
//@exclude *.flickr.com/activity*
// ==/UserScript==
(function(){
if(/flickr\.com\/photos\//g.test(window.location.href)){
if (window.location.pathname.match(/\/sets\/[0-9]+/g) && (!window.location.pathname.match(/\/detail\//))){
//window.stop();
var loc=window.location.toString().replace(/with\/\b[0-9]{10}\b\//g,'');
window.location = loc + 'detail/';goFlickr_set()}
else if (/\/[a-zA-Z0-9@]+\/[0-9]+\/(in\/)?/gi.test(window.location.pathname) && !/\/sizes\//gi.test(window.location.pathname)) {goFlickr_pic();}
else if (! /\/in\/|\/detail\/|\/sets\/?|stats|activity|galleries|organize|favorites|map|friends/gi.test(window.location.pathname) && !/details=1/gi.test(window.location.search)){
//window.stop();
window.location += '?details=1'; goFlickr_stream();}
}
goFlickr_pic=function(){
document.onkeypress=function(event){
var tag = event.target.tagName.toLowerCase();
if (tag === 'textarea' || tag === 'input') {return;}
//if (event.char == "f" || event.char == "3" || event.charCode == 102 || event.charCode ==51) {
if (event.char == "q" || event.char == "5" || event.charCode == 113 || event.charCode ==53) {
{ var loc = window.location.toString(); loc=loc.slice(0,(loc.indexOf('/in')));
window.location=loc +'/sizes/l/in/photostream/'}
}
}
}
goFlickr_stream=function(){
document.onkeypress=function(event){
var tag = event.target.tagName.toLowerCase();
if (tag === 'textarea' || tag === 'input') {return;}
if (event.char == "q" || event.char == "5" || event.char == "f" ||event.charCode == 113 || event.charCode ==53) {
{ window.location += '?details=1'}
}
}
}
goFlickr_set=function(){
document.onkeypress=function(event){
var tag = event.target.tagName.toLowerCase();
if (tag === 'textarea' || tag === 'input') {return;}
if (event.char == "q" || event.char == "5" || event.char == "f" ||event.charCode == 113 || event.charCode ==53) {
{ window.stop(); var loc=window.location.toString().replace(/with\/\b[0-9]{10}\b\//g,'');
window.location = loc + 'detail/'}
}
}
}
})();
▐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
This is a keyboard shortcut (or a mouse gesture) for old Opera only:
▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
3=Enable javascript & Delay, 10 & Go to page,"javascript:(function(){if(/flickr\.com/g.test(window.location.hostname)){if (window.location.pathname.match('/sets/')){if (!window.location.pathname.match('/detail/')) {window.stop();var loc=window.location;loc=loc.toString().replace(/with\/\b[0-9]{10}\b\//g,''); window.location = loc + 'detail/'}}else if (window.location.pathname.match('/in/') || window.location.pathname.search(/\b[0-9]{10}\b/)>-1 ){if (!window.location.pathname.match('/sizes/')) {window.stop();var loc = window.location.toString();loc=loc.slice(0,(loc.indexOf('/in'))) ;window.location=loc +'/sizes/l/in/photostream/'}}else if (window.location.search.search(/details=1/g)==-1){window.stop(); window.location += '?details=1'}}})()"
▐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
No comments:
Post a Comment