MozillaZine

Redirect removers for SM 2.45

Discussion about Seamonkey builds
Anonymosity
 
Posts: 8438
Joined: May 7th, 2007, 12:07 pm

Post Posted August 21st, 2016, 1:14 pm

I have tried all the redirect removers I could find with SM 2.45, and none of them works any more. Is there no way to stop Google from redirecting links these days?

therube

User avatar
 
Posts: 17278
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 22nd, 2016, 8:11 am

(Not exactly sure what you mean by "Google ... redirecting", & not sure if it'll work for you Google use-case, but...)

Bookmarklet, Remove redirects.

Otherwise, NoScript "cleans up" ugly Google links:

Ugly:
Code: Select all
https://www.google.com/url?q=http://www.filewatcher.com/m/ncmain.exe.212777-0.html&sa=U&ved=0ahUKEwinio28ptXOAhXB4SYKHYCXApAQFggUMAA&usg=AFQjCNG1OEpvNFqlnVF8ZzKThZmN8JrjmQ

Cleaned:
Code: Select all
http://www.filewatcher.com/m/ncmain.exe.212777-0.html

I'll also note that Google looks to be (now) obscuring their ugly links, so while you may see a "clean" looking link, it is in fact otherwise.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

therube

User avatar
 
Posts: 17278
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 22nd, 2016, 8:14 am

Bookmarklet works, but that must be initiated by the user & is on a per page basis.

So I would think that a Greasemonkey script should be able to accomplish the same more permanently?
What other extensions have you looked at?
(Also note that Yahoo search also uses "ugly" links. NoScript does nothing about that.)


(Oh, & I'm on 2.40, not 2.45, if that matters.)
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Anonymosity
 
Posts: 8438
Joined: May 7th, 2007, 12:07 pm

Post Posted August 22nd, 2016, 1:07 pm

It does seem to matter which version of SeaMonkey. I am using SM 2.45 now, and Redirect Cleaner 3.0 does not work with it, whereas it did work with SM 2.40. I have looked at all the redirect killers listed in addons.mozilla.org, including the ones specific for Google, and none of them gets rid of the Google redirects any more. If you stop Google from using javascript for searches, you will see the redirects in the links for the search results if you mouse over them. With Redirect Cleaner, I had to use Live HTTP Headers to see that the redirect was gone because it removed the redirection from the network request directly. I tested all the extensions both by looking at the links from the page and by looking at the network requests.

I just tested the bookmarklet. It does not seem to work either. I tried clicking it before and after requesting a search, and the links were still redirected.

therube

User avatar
 
Posts: 17278
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 22nd, 2016, 1:26 pm

2.46, 20160811081621, & the bookmarklet looks to be working.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Anonymosity
 
Posts: 8438
Joined: May 7th, 2007, 12:07 pm

Post Posted August 22nd, 2016, 9:00 pm

therube wrote:2.46, 20160811081621, & the bookmarklet looks to be working.

How did you determine that it works?

therube

User avatar
 
Posts: 17278
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 23rd, 2016, 8:04 am

Ran a search.

(That's a heck of a URL.)

Looked at, then Copy Link Location of the first hit.

Verified that it was "ugly".

Clicked remove redirects bookmarklet.

Looked at, then Copy Link Location of the first hit.

Verified that it was "cleaned".

Likewise, you can open "developer tools" (Ctrl+Shift+I) [is that in 2.45 too?] & monitor 'Network' & see what gets sent.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

Anonymosity
 
Posts: 8438
Joined: May 7th, 2007, 12:07 pm

Post Posted August 23rd, 2016, 10:20 am

I tried allowing javascript, using the bookmarklet, and clicking one of the results. The link looked clean, but the request header still showed the redirection. Copy Link Location also still showed the redirection. Interesting. Guess I shall have to give up Google searches for good.

Lemon Juice
 
Posts: 769
Joined: June 1st, 2006, 9:41 am

Post Posted August 26th, 2016, 2:06 pm

You can install Greasemonkey (converted) and use a script. I have a script called "Google Direct 0.5" installed some time ago, I can't find this version for download now but it works well when javascript is enabled. This is the code:
Code: Select all
// ==UserScript==
// @name         Direct Google
// @namespace    http://userscripts.org/users/92143
// @version      0.5
// @description  Removes Google search redirects and exposes "Cached" links.
// @include      /^https?://www\.google\./
// @author       zanetu
// @license      GPL version 2 or any later version; http://www.gnu.org/licenses/gpl-2.0.txt
// @require      http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js
// @grant        GM_log
// @run-at       document-end
// ==/UserScript==

//do not run in frames or iframes!!
if (window.top == window.self) {
   function modifyGoogle() {
      //remove redirects
      $('a[onmousedown^="return rwt("]').removeAttr('onmousedown')
      //expose cached links
      $('li.action-menu-item.ab_dropdownitem a[href^="http://webcache.googleusercontent."]').each(
         function() {
            $(this).closest('div.action-menu.ab_ctl')
            .after(' <a href="https' + this.href.substring(4) + '">(https)</a> ')
            .after($(this))
         }
      )
   }

   MutationObserver = window.MutationObserver || window.WebKitMutationObserver
   if(MutationObserver) {
      var observer = new MutationObserver(function(mutations) {
         modifyGoogle()
      })
      //tiny delay needed for firefox
      setTimeout(function() {
         if(1 == $('#main').length) {
            observer.observe($('#main').get(0), {
               childList: true,
               subtree: true
            })
         }
         modifyGoogle()
      }, 100)
   }
   //for chrome v18-, firefox v14-, internet explorer v11-, opera v15- and safari v6-
   else {
      setInterval(function() {
         modifyGoogle()
      }, 500)
   }
}
*** SeaMonkey — weird name, sane interface, modern bowels ***
Mouse Gestures for SeaMonkey/Firefox
Convert Fx and TB extensions to SeaMonkey

Anonymosity
 
Posts: 8438
Joined: May 7th, 2007, 12:07 pm

Post Posted August 27th, 2016, 12:07 pm

Thanks, but I already have 30 extensions, and adding another one just for the sake of one site that I use very seldom is not something I want to do. I can stick to Startpage and Duckduckgo and find what I want, usually.

Return to SeaMonkey Builds


Who is online

Users browsing this forum: No registered users and 1 guest