Find Jobs
Hire Freelancers

Firefox Plugin to modify attachment on gmail right before upload.

$250-750 USD

Closed
Posted over 9 years ago

$250-750 USD

Paid on delivery
I need a Firefox plugin that can modify an attachment (from lowercase letters to uppercase letters) on Gmail compose box right before uploading. One way could be to replace the attachment button with our own attachment button through Javascript, so that when the button is clicked, the file selection window pops up and when the user selects the file, the script should modify the file before Gmail could upload them. I found following steps which are reliable but with 1 small missing link: /** * 1) Create a new attachment button, and hide the existing button. * 2) When this button is clicked, create a new hidden file input and trigger click on it to * prompt the user to select the files they want to upload; add a change listener to this input to know * when files have been selected. * 3) Get that list of files, and perform encryption on them. * 4) Create a new div element with the expected '_hfn' id, where n is an integer starting at 1, * incrementing based on (the number of files attached when this reply pane was opened? Number of * files currently attached? An internal counter? Some other factor?). Attach * an array containing the altered files to this element as its 'files' property. * 5) Add a click listener to this element, so that when it receives the click event it, on a timer, * will trigger the change event on itself, which should in turn cause the gmail api to grab the * files array from it and perform the upload as usual. */ Another way could be to figure out the HTTP headers that the Gmail sends as request to Google's server in order to upload the file and modify the contents of the HTTP headers. The HTTP headers can be either intercepted and modified right before they are sent, or they the attachment button can be replaced with our own button so that when the user clicks on it, our own HTTP request is sent to Google server which looks similar to Gmail's but with modified file's content. Please do some research on this before applying for the project. Thanks.
Project ID: 6710547

About the project

5 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $384 USD for this job
User Avatar
Предложение еще не подано
$300 USD in 3 days
4.7 (8 reviews)
3.1
3.1
User Avatar
It would be better to modify the headers and the content of the response. The first method you described could cause problems on some systems. You can PM me if you would like to discuss the details. Regards
$300 USD in 7 days
5.0 (2 reviews)
2.8
2.8
User Avatar
I am not doing it for the money solely. This would be my first project on freelancer. I have recently quit my job as a game developer now I have started working as a full time free lancer. I have experience on most web mobile platforms, this project wont be panic. I have read your problems carefully many times and have also looked for better solutions. Kindly elaborate this points: ***Get that list of files, and perform encryption on them. (Why encryption ? Does gmail fetch files from the system after encrypting them.)
$288 USD in 5 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Ghaziabad, India
5.0
77
Payment method verified
Member since Nov 7, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.