No, it has an M42 mount, which isn't what your camera has.
If you read the ad closely you'll see that it is
not and M42 mount lens.
This is a T-mount lens, which is an interchangeable mount system. The lens on offer has an M42 mount/adapter as part of the package. This can easily be removed, it just screws off, and replaced with any of a wide range of T-2 mounts including Nikon. With the M42 mount replaced with a Nikon mount the lens will mount fine on the OP's D3000, but will not be particularly easy to use
The T mount system used removable mounts. The mounts were very quickly upgraded from T-mounts (fixed orientation) to T-2 mounts (2 part mounts with adjustable orientation). The two mount styles are interchangeable. With the T-2 mounts when the focusing and f/stop scales fail to be positioned at the top you simply loosen three small set screws to allow the inner part of the mount to rotate, rotate the lens to correct the positioning, and tighten the screws. With the original T-mounts, you just had to live with the occasional misalignment.
T/T-2 lenses are either manual aperture or preset aperture; the one on offer is pre-set. This has nothing to do with auto-exposure. It refers to whether the lens stops down from maximum to the set working apeture when you fire the shutter. These lenses don't. You must manually stop down to shoot and reopen to view and frame the next shot. With some cameras you can stop down to meter, but the OP's Nikon D3000 will not meter at all with this type of lens.
Manual lenses differ from preset lenses in the way the f/stop ring works. With manual lenses there is a simple f/stop ring. Setting an f/stop on the ring causes the aperture to close to that f/stop. To use these lenses you set the lens wide open, focus, close the aperture to the desired working aperture by either looking at the f/stop ring or counting clicks, and then shoot. This can be a bit slow.
With preset lenses there are two rings. One ring, the preset ring, is marked in f/stops but is not connected to the iris that actually sets the f/stop. The preset ring merely limits the travel of the other ring. This second ring is most often marked O-C (Open and Close) and is the actual f/stop ring. Its travel is limited from maximum aperture to the f/stop set on the preset ring. To use a preset lens you set the desired shooting aperture on the preset ring, open the O-C ring to maximum, focus, turn the O-C ring to its other limit, and shoot. There is no need to look at the ring or count clicks making it much faster and easier to use than a manual aperture lens.