I’m using FireFox. I want to split a picture into 3 parts and then display only middle part using greasemonkey. Can someone please help me out…
Thank You
I’m using FireFox. I want to split a picture into 3 parts and then
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could do it by setting the image as a background image and manipulating the size and background-position.
Here’s how to do it using jQuery:
I assume you want to split it horizontally, but it should be straightforward to convert this to split vertically.
See this question for how to use jQuery in GreaseMonkey.