- Fixed a bunch of bugs for existing paginations
[FlickrHacks.git] / _greasemonkey_ / flickrgotoreply.user.js
blob783aacf6fa22e16312cb879d355a62f01c80e2dd
1 // ==UserScript==
2 // @name        Flickr Go To Reply
3 // @namespace   http://6v8.gamboni.org/
4 // @description add a link to find the comment box easily
5 // @version        0.1
6 // @identifier  http://6v8.gamboni.org/IMG/js/flickrgotoreply.user.js
7 // @date           2006-07-05
8 // @creator        Pierre Andrews (mortimer.pa@free.fr)
9 // @include http://*flickr.com/photos/*/*
10 // 
11 // ==/UserScript==
13 // --------------------------------------------------------------------
15 // This is a Greasemonkey user script.
17 // To install, you need Greasemonkey: http://greasemonkey.mozdev.org/
18 // Then restart Firefox and revisit this script.
19 // Under Tools, there will be a new menu item to "Install User Script".
20 // Accept the default configuration and install.
22 // --------------------------------------------------------------------
23 // Copyright (C) 2006 Pierre Andrews
24 // 
25 // This program is free software; you can redistribute it and/or
26 // modify it under the terms of the GNU General Public License
27 // as published by the Free Software Foundation; either version 2
28 // of the License, or (at your option) any later version.
29 // 
30 // This program is distributed in the hope that it will be useful,
31 // but WITHOUT ANY WARRANTY; without even the implied warranty of
32 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33 // GNU General Public License for more details.
34 // 
35 // The GNU General Public License is available by visiting
36 //   http://www.gnu.org/copyleft/gpl.html
37 // or by writing to
38 //   Free Software Foundation, Inc.
39 //   51 Franklin Street, Fifth Floor
40 //   Boston, MA  02110-1301
41 //   USA
44 (function () {
46         var discuss = document.getElementById('DiscussPhoto');
47         if(discuss) {
48                 var title = discuss.getElementsByTagName('h3')[0];
49                 title.innerHTML += '<span style="font-size:75%;margin-left:1em;">(<a href="#reply">reply</a>)</span>';
50         }
52 })();