obama / ebay-kleinanzeigen-big-picture

Macht die Bilder bei ebay-kleinanzeigen größer
3 stars 1 forks source link

Don't like any picture zooming on hover #3

Open Jeronimosi opened 4 years ago

Jeronimosi commented 4 years ago

Dear obama, your addon works well. I try to understand this code. I'm looking desperately for an CSS or JS Code for the JS Injector or, much better, a readly built and running extention: I don't like any picture zooming on mouse over / hover effect. I will adapt the code for ebay-kleinanzeigen and other sites. Hopefully this is the right way to ask. All the best, Jeronimo Bonn

obama commented 4 years ago

You can use the code as you want. If you want to disable such a effect on other sites youd have to get rid of the mouseover event listeners. Or you can hide the HTML elements that have the hover effect and insert your mockup that looks the same but has no effect.

Jeronimosi commented 4 years ago

I think you know what you are talking about. For me, I'm a beginner. I tried this

.mousetrap { display: none !important; }

activeImg { max-width: 80%; height: auto; }

.entry:hover .entry-thumb activeImg { transform: unset; }

activeImg.oversize: {max-width: none}

But the effect remains.

obama commented 4 years ago

For every website it will be different. Which website are you trying?

Jeronimosi commented 4 years ago

ebay-kleinanzeigen.de

obama commented 4 years ago

You want to remove this effect that the image gets a little larger?

It's css only it seems. You have to set .galleryimage-element>img:hover { transform: none; -webkit-transform: none; } or something like that.