Results 1 to 7 of 7

Thread: Delete referer when clicking links.

  1. #1

    Join Date
    Jul 2012
    Posts
    1,876
    Userbars
    18
    Thanks
    1,619
    Thanked 3,292 Times in 998 Posts
    Downloads
    223
    Uploads
    0
    Mentioned
    469 Post(s)
    Time Online
    132 d 23 h 52 m
    Avg. Time Online
    56 m
    Rep Power
    0

    Delete referer when clicking links.

    I think there used to be this feature that erased the referer when linking outside clraik.

    That was a good feature why was it taken down?
    At least use it for images for those thread with lots of images linking directly to neopets.
    I'm looking at you Mophead.


    I'm also doing it with the Advent Calendar Thread though.

  2. The Following 2 Users Say Thank You to Daviid For This Useful Post:

    Accelerator (12-01-2016),j03 (12-01-2016)

  3. #2
    Saiyan Race j03's Avatar
    Join Date
    Dec 2011
    Posts
    12,346
    Userbars
    116
    Thanks
    4,936
    Thanked 26,550 Times in 5,734 Posts
    Downloads
    23
    Uploads
    36
    Mentioned
    3522 Post(s)
    Time Online
    474 d 17 h 44 m
    Avg. Time Online
    3 h 21 m
    Rep Power
    25
    Gonna make this happen soon
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ][Only registered and activated users can see links. ]


    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.


  4. The Following 3 Users Say Thank You to j03 For This Useful Post:

    Daviid (12-01-2016),Marine Biology (12-02-2016),neoplux (12-05-2016)

  5. #3
    Accelerator's Avatar
    Join Date
    Jul 2013
    Posts
    4,892
    Userbars
    26
    Thanks
    1,986
    Thanked 3,658 Times in 1,585 Posts
    Downloads
    178
    Uploads
    0
    Mentioned
    743 Post(s)
    Time Online
    335 d 1 h 18 m
    Avg. Time Online
    2 h 34 m
    Rep Power
    22
    @[Only registered and activated users can see links. ] for now/as a workaround just use Fiddler/Charles and replace the body (response) from "http://www.neopets.com" to "https://href.li/?http://www.neopets.com"

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    "Date et dabitur vobis"
    「Let's fight 恐れはない」

    Spoiler:

    "A quantum supercomputer calculating for a thousand years could not even approach the number of f∑∑ks I do not give"

    「君が望むモノは何?」

  6. The Following User Says Thank You to Accelerator For This Useful Post:

    Daviid (12-01-2016)

  7. #4

    Join Date
    Jul 2012
    Posts
    1,876
    Userbars
    18
    Thanks
    1,619
    Thanked 3,292 Times in 998 Posts
    Downloads
    223
    Uploads
    0
    Mentioned
    469 Post(s)
    Time Online
    132 d 23 h 52 m
    Avg. Time Online
    56 m
    Rep Power
    0
    Quote Originally Posted by Accelerator View Post
    @[Only registered and activated users can see links. ] for now/as a workaround just use Fiddler/Charles and replace the body (response) from "http://www.neopets.com" to "https://href.li/?http://www.neopets.com"

    Code:
    // ==UserScript==
    //  @[Only registered and activated users can see links. ]         DeReferer
    //  @[Only registered and activated users can see links. ]space    [Only registered and activated users can see links. ]
    // @version      0.1
    //  @[Only registered and activated users can see links. ]cription  try to take over the world!
    // @author       You
    //  @[Only registered and activated users can see links. ]ch        [Only registered and activated users can see links. ]
    // @grant        none
    // ==/UserScript==
    
    (function() {
        'use strict';
        String.prototype.replaceAll = function(str1, str2, ignore) {
            return this.replace(new RegExp(str1.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),(ignore?"gi":"g")),(typeof(str2)=="string")?str2.replace(/\$/g,"$$$$"):str2);
        };
        document.body.innerHTML = document.body.innerHTML.replaceAll("http://www.neopets.com","https://href.li/?http://www.neopets.com");
    })();
    Made this to have it always on even without fiddler or charles proxy.
    Does anyone have any idea why does it breaks the text editor?

    Edit:

    @[Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Last edited by Daviid; 12-01-2016 at 07:52 PM.

  8. #5
    Accelerator's Avatar
    Join Date
    Jul 2013
    Posts
    4,892
    Userbars
    26
    Thanks
    1,986
    Thanked 3,658 Times in 1,585 Posts
    Downloads
    178
    Uploads
    0
    Mentioned
    743 Post(s)
    Time Online
    335 d 1 h 18 m
    Avg. Time Online
    2 h 34 m
    Rep Power
    22
    Quote Originally Posted by Daviid View Post
    Code:
    // ==UserScript==
    // @[Only registered and activated users can see links. ]         DeReferer
    // @[Only registered and activated users can see links. ]space    [Only registered and activated users can see links. ]
    // @version      0.1
    // @[Only registered and activated users can see links. ]cription  try to take over the world!
    // @author       You
    // @[Only registered and activated users can see links. ]ch        [Only registered and activated users can see links. ]
    // @grant        none
    // ==/UserScript==
    
    (function() {
        'use strict';
        String.prototype.replaceAll = function(str1, str2, ignore) {
            return this.replace(new RegExp(str1.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g,"\\$&"),(ignore?"gi":"g")),(typeof(str2)=="string")?str2.replace(/\$/g,"$$$$"):str2);
        };
        document.body.innerHTML = document.body.innerHTML.replaceAll("http://www.neopets.com","https://href.li/?http://www.neopets.com");
    })();
    Made this to have it always on even without fiddler or charles proxy.
    Does anyone have any idea why does it breaks the text editor?
    Haven't tried it, but isn't this simpler? LMAO
    Code:
    document.body.innerHTML = document.body.innerHTML.replace(/http:\/\/www.neopets.com/g, 'https://href.li/?http://www.neopets.com');

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    "Date et dabitur vobis"
    「Let's fight 恐れはない」

    Spoiler:

    "A quantum supercomputer calculating for a thousand years could not even approach the number of f∑∑ks I do not give"

    「君が望むモノは何?」

  9. #6

    Join Date
    Jul 2012
    Posts
    1,876
    Userbars
    18
    Thanks
    1,619
    Thanked 3,292 Times in 998 Posts
    Downloads
    223
    Uploads
    0
    Mentioned
    469 Post(s)
    Time Online
    132 d 23 h 52 m
    Avg. Time Online
    56 m
    Rep Power
    0
    Quote Originally Posted by Accelerator View Post
    Haven't tried it, but isn't this simpler? LMAO
    Code:
    document.body.innerHTML = document.body.innerHTML.replace(/http:\/\/www.neopets.com/g, 'https://href.li/?http://www.neopets.com');
    Yes.
    TBH I don't even remember what problem did I encounter to use the "String.prototype.replaceAll" and it was just 8 minutes ago.

    Probably the "\/\/"?
    2 AM, should go to sleep now.

  10. The Following User Says Thank You to Daviid For This Useful Post:

    Accelerator (12-01-2016)

  11. #7
    Saiyan Race j03's Avatar
    Join Date
    Dec 2011
    Posts
    12,346
    Userbars
    116
    Thanks
    4,936
    Thanked 26,550 Times in 5,734 Posts
    Downloads
    23
    Uploads
    36
    Mentioned
    3522 Post(s)
    Time Online
    474 d 17 h 44 m
    Avg. Time Online
    3 h 21 m
    Rep Power
    25
    All set now.

    [Only registered and activated users can see links. ] <-Test
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ][Only registered and activated users can see links. ]


    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.


  12. The Following User Says Thank You to j03 For This Useful Post:

    txtsd (12-13-2016)

Posting Permissions

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