Find Jobs
Hire Freelancers

Disable right-click and highlight on this <object> element without disabling scrolling

$10-30 USD

Zamknięte
Opublikowano około 5 lat temu

$10-30 USD

Płatne przy odbiorze
I have an <object> element (see below) into which a PDF is being loaded. Currently, users can simply right-click on it and download it in Chrome. Firefox even shows a download button. I want to prevent users from downloading the PDF, so I want to disable right-click, and I also want to prevent them from highlighting and copying the text. And since <object> elements don't respond to click events, I am handling the click event in the <div> below it with (contextmenu)= "myFunction()". The problem is that disabling right-click in this way also disables scrolling for some reason. So does style="pointer-events: none". I need to disable right-clicks and highlighting on the PDF but the user still needs to be able to scroll to view the pages below. I am using Angular 7 so this is being done with HTML and Typescript. The PDF file is coming from Firebase Storage. <object width="100%" height="690" type="application/pdf" [data]="([login to view URL])"> <div style="position:absolute; top:0; left:0; bottom:0; right:0;" (contextmenu)="onRightClick($event)"></div>
Identyfikator projektu: 19242121

Informację o projekcie

11 ofert
Zdalny projekt
Aktywny 5 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
11 freelancerzy składają oferty o średniej wysokości $29 USD dla tej pracy
Awatar Użytkownika
Hello there, I am interested and ready to start. I will do this in 2 Hours. Please visit our profile reviews to make confidence working with us https://www.freelancer.com/u/maxsmith8.html#/reviews looking forward to hear from you soon. Thanks & Regards, Sam
$30 USD w 0 dzień
4,9 (91 opinii)
6,9
6,9
Awatar Użytkownika
Hello hiring member i am bhavika i have 3+years experience in php , laravel , ajax ,html ,css , bootstrap so i can do it and i can start it right now so please give me chance to serve you thanks in advance :)
$30 USD w 1 dzień
5,0 (77 opinii)
5,9
5,9
Awatar Użytkownika
Hello, Thanks for posting your requirements over here. As per my understanding, you are looking for someone who can disable right click and highlighting and copying the text. We can help you to disable right click and highlighting and copying text from PDF. Also, make sure that making changes doesn't make and effect on scrolling functionality. It would be great if we can have a short conversation over here. It will help me to let you know our strategy to complete the task which you are looking for. Looking forward to working with you. Thank you, Nimesh
$40 USD w 1 dzień
5,0 (1 opinia)
2,8
2,8
Awatar Użytkownika
Hi, ⭐⭐My understanding⭐⭐ You need experienced chrome extension developer. I believe, I can do this with ease as i have much experience in chrome development and created 30+ chrome extensions in different domains like Web Scraping, Website manipulation, Automate manual processes.
$30 USD w 1 dzień
4,3 (9 opinii)
3,4
3,4
Awatar Użytkownika
"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on similar requirement in past. We have right skills to work on this assignment. . We will complete the work as per requirement Also my team working on same project" We have read out every thing about your project kindly confirm"
$34 USD w 7 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
Skilled and Friendly WEB DEVELOPER. FAST WORK & HIGH QUALITY! IMAGINE that, If YOU hire ME you will get the BEST & FAST services.
$35 USD w 2 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
Hey, I saw your job posting for "Disable right-click and highlight on this <object> element without disabling scrolling" and believe that I have the right skills and temperament for it. Let me introduce myself. I am Jibran; a highly talented and motivated software developer who believes in providing top-notch IT services to his clients. My primary goal is to bring your ideas and vision to fruition by giving you the best application which consists of a clean and maintainable code. I have extensively worked with Html5, CSS3, Javascript, MEAN Stack (MongoDB, NodeJS, AngularJS, ExpressJS), Laravel, Ionic, Bower, Grunt/Gulp, Azure Cloud, PHP, WordPress, CodeIgniter, Amazon (Elastic Beanstalk, S3 bucket, RDS DB, Elastic Cache/Redis), etc. Talking about your issue, I think it will be resolved within a day as I am already working on an application with similar UI (You can see on my profile Bio) Talking about your requirements I am an expert in HTML5, CSS3, and Javascript, as I have mentioned earlier, and have worked on such UI issues before, as I myself started with Angular as the first framework that I learned. I am available 18/6 for any kind of support (I only take 6 hours sleep and Sundays off. To make it quicker, and in a single go, i am making a single milestone of fulfilling your requirement.
$30 USD w 1 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
I can able to solve this issue. I already worked in javascript and Angular versions. Please give all the required details so that I can solve this with in a day
$25 USD w 1 dzień
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga UNITED STATES
Antelope, United States
5,0
2
Zweryfikowana metoda płatności
Członek od maj 5, 2016

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.