Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Worst cursor ever?

  1. #11
    Tv Controls you's Avatar Resistance is Futile BT Rep: +2
    Join Date
    Nov 2009
    Location
    Land of Hypocrisy
    Posts
    1,267
    Damn, That was so ugly I had to make a greasemonkey script, just to put my mind at ease.
    Code:
    // ==UserScript==
    // @name           Tv's fix...
    // @namespace      http://www.choicebits.info/*
    // @description    It was too ugly to let be...
    // @include        http://www.choicebits.info/*
    // ==/UserScript==
    
    var n=document.links.length;
    document.body.style.cursor = "auto";
    
    for (var i = 0; i < n; i++) {
      l = document.links[i];
      l.addEventListener(
         'mouseover',
         function(event) {
           var link = event.target;
           link.style.cursor = "pointer";
           if (link.href) document.location.href = link.href;
         },
         true);
     }

  2. BitTorrent   -   #12
    mjmacky's Avatar an alchemist?
    Join Date
    May 2010
    Location
    day book
    Posts
    10,854
    Quote Originally Posted by Tv Controls you View Post
    Damn, That was so ugly I had to make a greasemonkey script, just to put my mind at ease.
    Spoiler: Show
    Now I'm pretty garbage at coding, scripting and the like, but that looks like a javascript solution to what I thought was a stylesheet problem. I had javascript blocked when I visited and still saw the monstrosity. I also didn't see anything pointing to a .cur .csr or .ani file in the page source, which also made me think it was part of a CSS or similar scheme. Please enlighten
    Last edited by mjmacky; 08-09-2011 at 05:20 PM.
    Everything is brought to you by Fjohürs Lykkewe.

  3. BitTorrent   -   #13
    ca_aok's Avatar Poster BT Rep: +1
    Join Date
    Feb 2008
    Posts
    1,547
    Quote Originally Posted by mjmacky View Post
    Now I'm pretty garbage at coding, scripting and the like, but that looks like a javascript solution to what I thought was a stylesheet problem. I had javascript blocked when I visited and still saw the monstrosity. I also didn't see anything pointing to a .cur .csr or .ani file in the page source, which also made me think it was part of a CSS or similar scheme. Please enlighten
    Greasemonkey is a browser extensibility plugin that allows you to use javascript to modify websites of your choice. The changes are often to the CSS, but pretty much anything is possible.
    Quote Originally Posted by whatcdfan View Post
    u are somewhat fairer then the last occasions but still pal i give a damn to what u said and expect i really dont need anything from u or optimuscrime i get what i want coz u 2 guyes dont own bittorrent and i dont think i portrayed any image i wrote simple english and u are seems to be very good at making assumptions if someone is not a cheater and u assume he's a cheater and write what u wrote and when u are proven wrong who u think will owe an apology then barack obama????

  4. BitTorrent   -   #14
    Quote Originally Posted by mjmacky View Post
    I had javascript blocked when I visited and still saw the monstrosity.
    Ironically I tried enabling JS to see what this was all about, and I still don't see anything...
    "I just remembered something that happened a long time ago."

  5. BitTorrent   -   #15
    Tv Controls you's Avatar Resistance is Futile BT Rep: +2
    Join Date
    Nov 2009
    Location
    Land of Hypocrisy
    Posts
    1,267
    Quote Originally Posted by mjmacky View Post
    Quote Originally Posted by Tv Controls you View Post
    Damn, That was so ugly I had to make a greasemonkey script, just to put my mind at ease.
    Spoiler: Show
    Now I'm pretty garbage at coding, scripting and the like, but that looks like a javascript solution to what I thought was a stylesheet problem. I had javascript blocked when I visited and still saw the monstrosity. I also didn't see anything pointing to a .cur .csr or .ani file in the page source, which also made me think it was part of a CSS or similar scheme. Please enlighten
    Correct, the cursor information for the website is in the CSS file.
    http://www.choicebits.info/themes/NB-21/theme.css
    The first few lines actually pertain to the cursor.

    It actually isn't uncommon to change CSS properties via JavaScript. In fact most CSS properties can be altered via JavaScript

  6. BitTorrent   -   #16
    mjmacky's Avatar an alchemist?
    Join Date
    May 2010
    Location
    day book
    Posts
    10,854
    And it all connects and clicks in, thanks for clarifying.

    Quote Originally Posted by anon View Post
    Quote Originally Posted by mjmacky View Post
    I had javascript blocked when I visited and still saw the monstrosity.
    Ironically I tried enabling JS to see what this was all about, and I still don't see anything...
    You have to use a real browser
    Last edited by mjmacky; 08-09-2011 at 06:49 PM. Reason: Automerged Doublepost
    Everything is brought to you by Fjohürs Lykkewe.

  7. BitTorrent   -   #17
    Quote Originally Posted by mjmacky View Post
    You have to use a real browser
    It's not a bug, it's a feature. Obviously.
    "I just remembered something that happened a long time ago."

  8. BitTorrent   -   #18
    KFlint's Avatar ... BT Rep: +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35BT Rep +35
    Join Date
    Mar 2007
    Posts
    4,056
    Instead of wasting your time replacing the cursor, as it will remain an ugly site with bad content, may I suggest a simple :

    Code:
    history.go(-1)
    ... and never go back.
    Last edited by KFlint; 08-09-2011 at 08:08 PM.

  9. BitTorrent   -   #19
    I don't know if you want to do that. We need somewhere to show how not to make a torrent site better. Besides, you can enjoy the site on its own merits, like watching a really terrible movie

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •