Code Monkey home page Code Monkey logo

Comments (16)

Smile4ever avatar Smile4ever commented on September 13, 2024 2

Hi,

The gs_l parameter is not very new (2016), but I never saw it before :)
https://productforums.google.com/forum/#!topic/webmasters/UJMhujdXgbE

I've added gs_l to Neat URL 1.2.0. You will automatically get this new parameter if you've not already added it manually.

The commit that implements Neat URL 1.2.0 can be found here: 9a66574

Neat URL 1.2.0 will soon be available on addons.mozilla.org.

Thanks for your add-on!

You're welcome.

from firefoxaddons.

nicolaasjan avatar nicolaasjan commented on September 13, 2024 1

By the way, when using Google images and search for lets say "mozilla" I get:
https://www.google.nl/search?as_st=y&tbm=isch&hl=nl&as_q=mozilla&as_epq=&as_oq=&as_eq=&imgsz=&imgar=&imgc=&imgcolor=&imgtype=&cr=&as_sitesearch=&safe=images&as_filetype=&as_rights=
But when I then specify within the results the size "large" I get this url:
https://www.google.nl/search?q=mozilla&as_st=y&hl=nl&tbm=isch&source=lnt&tbs=isz:l&sa=X&ved=0ahUKEwiAhrj54-fVAhVFCcAKHWZOAFYQpwUIHQ&biw=1444&bih=905&dpr=1
Notice the ved parameter!
See also:
https://moz.com/blog/inside-googles-ved-parameter
(more Google tracking...)
Adding ved to the filter list does not give me any nasty side effects.
So maybe add this to the default as well?

from firefoxaddons.

Geobert avatar Geobert commented on September 13, 2024 1

Lean URL? or Neat URL?

Thanks for your work!

from firefoxaddons.

Smile4ever avatar Smile4ever commented on September 13, 2024 1

I was sleepy. Neat URL of course.

from firefoxaddons.

GitCurious avatar GitCurious commented on September 13, 2024 1

Hello - thanks for the addon, I`m testing it now

Everything after /ref on amazon.* ($/ref@amazon.*)

This actually breaks certain links on Amazon, for example;

"Track Package" and "Cancelled Items"

there may be more but I have just noticed those two immediately.

An example link segment:
amazon.co.uk/gp/your-account/ship-track/ref=xxx?ie=UTF8&itemId=xxx&orderId=xxx&shipmentId=xxx

the 'ref' parameter is stripping away customer specific item information after it.

from firefoxaddons.

Smile4ever avatar Smile4ever commented on September 13, 2024 1

@GitCurious This bug is fixed in Neat URL 2.0.1. It will soon be available on addons.mozilla.org.

Everyone:
By the way, go grab Neat URL 2.0.0 (or up) on addons.mozilla.org! 😃

from firefoxaddons.

EC-O-DE avatar EC-O-DE commented on September 13, 2024

Yeah I just noticed I dunno if it's this or what but Google Images doesn't give direct link to images anymore... :(

from firefoxaddons.

Smile4ever avatar Smile4ever commented on September 13, 2024

Try to disable Neat URL and try again. If it works after disabling Neat URL I will retract gs_l from the parameters list. If it doesn't work, gs_l can stay.

By the way, which version of Neat URL are you using, @zenfi? Does it even have the gs_l parameter?

from firefoxaddons.

nicolaasjan avatar nicolaasjan commented on September 13, 2024

Google Images works OK here.
Clicking on a image result gives you the black frame where you can click on "view image" and that works well here (I manually added the gs_l parameter).

from firefoxaddons.

eXqusic avatar eXqusic commented on September 13, 2024

What about all of amazons parameters?

https://www.amazon.com/Spigen-RA200-Earhooks-Earphones-Headphones/dp/B01NAM69IJ/ref=pd_sim_107_3?_encoding=UTF8&pd_rd_r=T9EY6TZZ0KF4V86SSGGD&pd_rd_w=3FbbK&pd_rd_wg=qDgGV&psc=1

Everything past "/ref=" isnt needed

So.. just to list,
pd_sim_
pd_rd_
psc

thats just from that one link, theres more haha

from firefoxaddons.

Smile4ever avatar Smile4ever commented on September 13, 2024

I have the intent to implement parameters without full domain, like "ved@google.*". This will allow for specific parameters on multiple domains (but not all).

I will implement these parameters:

  • ved@google.*
  • encoding@amazon.*
  • pd_rd_r@amazon.*
  • pd_rd_w@amazon.*
  • pd_rd_wg@amazon.*
  • psc@amazon.*

ref=pd_sim_* is harder to implement, but I might find a way to do it.

from firefoxaddons.

eXqusic avatar eXqusic commented on September 13, 2024

pd_rd_* would be better, there is more then just those few you mentioned.

from firefoxaddons.

Geobert avatar Geobert commented on September 13, 2024

Not a Google parameter but a tracking parameter none the less: 
http://www.futura-sciences.com/planete/actualites/paleontologie-vie-dodo-retrouvee-os-68360/#xtor=RSS-8

#xtor=RSS-8 should be removed (tried to add xtor, #xtor and event /#xtor in the options with no luck)

Thanks for this extension!

from firefoxaddons.

nicolaasjan avatar nicolaasjan commented on September 13, 2024

Two other Google parameters:
ei and sei
Found as follows:
In Google advanced search, search for lets say "Remove garbage from URLs".
I get:
https://www.google.com/search?lr=&hl=nl&as_qdr=all&q=%22Remove+garbage+from+URLs%22&oq=%22Remove+garbage+from+URLs%22
Then click on the coloured "Go to the Google homepage" link in the upper left corner.
There I get:
https://www.google.nl/webhp?hl=nl&sa=X&gws_rd=cr&ei=nvSiWfaROYiNUbyTlpAG
The part ei=nvSiWfaROYiNUbyTlpAG contains a Unix timestamp and is often used in digital forensics...
See:
https://cheeky4n6monkey.blogspot.nl/2014/10/google-eid.html

While it doesn't seem to occur for every search, when it does, that "ei" parameter contains an encoded Unix UTC timestamp (and other things Google only knows). Interpreting this artifact can thus allow forensic analysts to date a particular search session.

When running his Python script in my Linux terminal I get:

python google-ei-time.py -u "https://www.google.nl/webhp?hl=nl&sa=X&gws_rd=cr&ei=nvSiWfaROYiNUbyTlpAG"
Running google-ei-time.py v2014-10-10

URL's ei term = nvSiWfaROYiNUbyTlpAG
Padded base64 string = nvSiWfaROYiNUbyTlpAG
Extracted timestamp = 1503851678
Human readable timestamp (UTC) = 2017-08-27T16:34:38

See also:
http://kb.digital-detective.net/display/NetAnalysisV2/URL+Analysis#URLAnalysis-GoogleEI/SEIParameterDecoding

I can't remember where I saw the sei parameter, but it appears to be something similar.

First I only added ei and sei to the add-on settings, but for some reason unknown to me, YouTube got broken (video's did not play). 😧
As I only encountered the issue at google.nl, I had to add:

from firefoxaddons.

Smile4ever avatar Smile4ever commented on September 13, 2024

I worked on this. This is a status update to keep you all informed.

Done:

  • pd_rd_r@amazon.*
  • pd_rd_w@amazon.*
  • pd_rd_wg@amazon.*
  • _encoding@amazon.*
  • psc@amazon.*
  • ved@google.*
  • ei@google.*
  • sei@google.*
  • gws_rd@google.*

(amazon.* is a wildcard for amazon.de / amazon.com / amazon.fr ...)

Still TODO:

  • Everything after /ref on amazon.* (might not make it in this release.. I'll keep you posted)
  • #xtor=RSS-8 (this won't be a default parameter, but I will make it possible to add a parameter like this)
  • Wildcard support for parameters so something like this becomes possible pd_rd_*

Please note that the above parameters won't work in Neat URL 1.2.0. An update will be provided shortly with support for wildcard domains. These new parameters will be added by default when upgrading users to the updated version.

from firefoxaddons.

Smile4ever avatar Smile4ever commented on September 13, 2024

I have implemented everything from above, except wildcard support for parameters. I added that to the TODO list.

It will be available in Neat URL 2.0.0:
ff5fd89

(please ignore 1.5.0 in the CHANGELOG, it became 2.0.0)

Neat URL 2.0.0 has been submitted to addons.mozilla.org for approval. It will soon be available to end users. I will inform you when that happens.

from firefoxaddons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.