Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
hi simon! ok, i see the problem - i will have a look |
|
|
i made some overdue changes.
|
|
|
You really MUST to fix this script! see this page, the clock spreads all over. |
|
|
Maybe people find the following code handy when they don't want to add clocks into iframes within pages:
if(top.location != location){ // anti-frame
return
};
|
|
|
I'm having some problems with changing page's so i added a little extra controle.
|
|
|
Tieso, I re-applied the simple styled clock. |
|
|
What´s up Jan! Your script r terrific! But I remember the first version. In that version the text color it depended of the backgroud of the web page. I miss that. |
|
|
V5.1: now checks just once a day for an update.
|
|
|
V5.0: update function included -> script informs you when a new version of the script is available |
|
|
V4.0 date included |
|
|
Thanks for the proposals for my script, Daniel. I did not know that there is that possibility with the Greasemonkey menu. I have now used it, quite handy :) Since I haven’t thought of the different media types (screen and printing), the script now distinguish by itself, and there is no clock on printouts any longer. Actually, I have just seen pages with z-index: 100 (haven’t really looked so far), but (e.g.) there is the header layer “spiegel online” on http://www.spiegel.de/ --it’s in front of the clock div, for whatever reason. |
|
|
I just noticed this after you updated it. I won't be using it, as I wouldn't find it useful myself. But I had some thoughts just from reading about it: First, CSS 2 introduced media-specific style rules, so you could set 'display:fixed' (or 'display:absolute', or however you're doing it) for screen and 'display:none' for others. That way, it simply won't show up on printout. (Then again, maybe someone would want it on printout?) Related to this, instead of making your users modify the source, GM provides for adding menu commands for your script ( Hmm. You say some pages will have layers in front of the clock. I see you set the z-index to 1000. Have you actually seen pages with higher layers than that? |
|
|
now its possible to display a non running clock to see at what time a webpage was loaded:
|
|
|
You can now hide the clock by clicking on it (e.g. for printing reasons). |
|
|
You can now place the clock in each corner you like to. var horizontal = "right"; //"right" or "left"
Some pages have layers that will be in front of the clock. |
|
|
if (jetzt.getSeconds() < 10) zeit = zeit + '0';
|
|
|
Thanks Jan Parchmann, but I think this instrucction doesn't work: if (jetzt.getSeconds() < 10) zeit = zeit + '0'; Screenshot:
|
|
|
Maybe you can make it an option to choose were you want to position the clock: left-top / left-bottom / right-top / right-bottom.
|
|
|
You can now display seconds by changing line 10:
|
|
|
Very funtional. Can u show the seconds? |