Subscribe to How-To Geek Mag-subscribe sa Paano-Upang Geek

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Prevent Annoying Websites From Messing With the Right-Click Menu in Firefox Maiwasan ang nakakainis Websites Mula Messing Sa right-click ang Menu sa Firefox

If you've spent any amount of time online, you've already run into a website that uses javascript to disable the right-click menu on the page… which can be really, really irritating for those of us that like to use the “back” feature on the context menu. Kung ikaw ay ginugol sa anumang halaga ng oras na online, mo na tumakbo sa isang website na gumagamit ng javascript i-disable ang right-click menu sa pahina ... na maaaring tunay, tunay nanggagalit para sa mga ng sa amin na nais na gamitin ang " back "katangian sa context menu.

Why do they do this? Bakit ginagawa nila ito? Usually it's a misguided attempt to keep people from viewing the source of their pages or stealing their images, but all they really do is end up annoying their readers into never coming back. Kadalasan ito ay isang pagtatangkang naligaw ng landas upang mapanatili ang mga tao mula sa pagtingin ng pinagmulan ng kanilang mga pahina o pagnanakaw ng kanilang mga imahe, ngunit lahat sila ay talagang gawin ay ang end up na nakakainis na ang kanilang mga mambabasa sa mga hindi kailanman babalik. Ever. Kailanman.

Hint: it doesn't really stop anybody from stealing. Payo: ito ay hindi tunay na ihinto ang kahit sino mula sa pagnanakaw. It's the tech equivalent of searching 85-year old grandmothers on airplanes for knitting needles. Ito ang tech katumbas ng paghahanap ng 85-taong gulang na grandmothers sa airplanes para sa pagniniting karayom. If you do it on your pages, stop it now. Kung gawin mo ito sa iyong mga pahina, itigil na ito ngayon.

Disabling Annoying Context Menu Javascript Nonsense Ang hindi pagpapagana ng nakakainis na Context Menu Javascript bagay na walang kapararakan

Open up the Tools \ Options panel, and then go to the Content “tab” on the top. Buksan ang Tools \ Opsyon panel, at pagkatapos ay pumunta sa Content "tab" sa tuktok. You'll see three buttons on the right-hand side, choose the one that says “Advanced”. Makikita mo ang tatlong mga pindutan sa kanang bahagi, piliin ang isa na nagsasabing "Advanced".

Firefox Options Window

From this dialog you can uncheck the option for “Disable or replace context menus”. Mula sa dialog na ito maaari mong alisin ang tsek ang opsyon para sa "disable o palitan ang menu context". Note: If you also want to prevent websites from resizing your browser window, you can uncheck “Move or resize existing windows” while you are at it. Paalala: Kung ikaw din ang nais na pigilan ang mga website mula sa pagpapalit ng sukat ng iyong browser window, maaari mong alisin ang tsek "Ilipat o i-resize ang mga umiiral na mga bintana ng" habang ikaw ay sa ito.

Firefox Advanced Javascript Settings

And now your context menu will work perfectly fine on the page. At ngayon ang iyong context menu gagana nang ganap na ganap pagmultahin sa pahina.

Firefox Context Menu

It should be noted that disabling this setting will prevent customized context menus from working on sites like Google Docs… so it's a toss-up on which feature you like more. Ito ay dapat ay mapapansin na i-disable ang setting na ito ay maiwasan ang customized na context menu mula sa pagtatrabaho sa mga sites tulad ng Google Docs ... kaya ito ay isang palabunutan kung saan tampok mo pa.

This article was originally written on 01/19/09 Tagged with: Ang artikulong ito ay orihinal na isinulat sa 01/19/09 Tagged with: Firefox & Web Firefox & Web

Daily Email Updates Araw-araw na Updates Email

You can get our how-to articles in your inbox each day for free. Maaari kang makakuha ng aming kung-paano na mga artikulo sa iyong inbox sa bawat araw para sa libre. Just enter your name and email below: Ilagay lamang ang inyong pangalan at email sa ibaba:


Name: Pangalan:
Email: Email:

Comments (10) Comments (10)

  1. Big Dan Big Dan

    I cannot tell you how many times I've had that annoyance come up. Hindi ko sabihin sa iyo kung gaano karaming beses Nagkaroon na ako ng pagkayamot dumating up. Not that I'm going around the net stealing page source or images. Hindi na ako pagpunta sa paligid ng net pagnanakaw page source o imahe. I have Mayroon akong Hyperwords Hyperwords installed and need my right click menu to work. naka-install at kailangan ang aking mga karapatan i-click ang menu sa trabaho.

    What always irks me is it in no way protects the source in Firefox Ctrl + U brings up the source in a new window, additionally Ctrl + F (find) brings up a search box to find what you want in the source. Ano ang laging irks sa akin ay ang mga ito sa walang paraan pinangangalagaan ang source sa Firefox Ctrl + U Pinagsasama-up ang source sa isang bagong window, Karagdagan Ctrl + F (hanapin) Pinagsasama-up ng isang kahon sa paghahanap upang makita kung ano ang nais mo sa source. Similar functionaliy is available in every browser. Similar functionaliy ay makukuha sa bawat browser.

    Really the right click disable scripts do nothing but annoy technically adept users. Talagang ang karapatan i-click ang script na i-disable ang walang anuman kundi inisin technically adept user.

  2. Damian Damian

    It also really messes up disabled peoples accessibility add ons and / or special browsers. Ito rin ang tunay messes up pinigilan tao access idagdag ang on at / o espesyal na mga browser. I will let my disabled user groups know about this – another excuse to get everyone onto firefox Ko sa aking pinigilan gumagamit ng mga grupo ng alam tungkol sa mga ito - isa pang dahilan para makakuha ng lahat sa firefox ;)

  3. Bailey Bailey

    And for those of us who want to keep our customized Google Docs context menu, there's a simple solution. At para sa mga ng sa amin na gustong panatilihin ang aming mga customized na ang Google Docs context menu, may isang simpleng solusyon. Get Firebug for Firefox and use it to delete the right click script on your computer's local copy. Kumuha ng mga arsonista para sa Firefox at gamitin ito upang tanggalin ang karapatan script na i-click sa mga lokal na kopya ng iyong computer. Alternatively (and I prefer), you can Adblock the script (if it's external) that has the right click disbaling function. Bilang kahalili (at Mas gusto ko), maaari mong Adblock ang script (kung ito ay panlabas) na may karapatang i-click ang disbaling function. (Hey Mozilla, here something to add to FF 3.1…Be able to specify advanced JS options individually for each site, yet still have the global options!) (Hey Mozilla, dito isang bagay upang idagdag sa FF 3.1 ... Be able upang tukuyin ang mga advanced na mga opsyon JS isa-isa para sa bawat site, pa pa rin magkaroon ng global na pagpipilian!)

  4. lilsting10 lilsting10

    SWEET! Matamis! I hate websites that resize your brower windows, I never even realised that option was built into FF3. Hate ko ang mga website na resize ang inyong mga bintana ng brower, ako hindi kailan man kahit na nalaman na opsyon ay nakapaloob sa FF3. Thank you. Salamat.

  5. Andrew Andrew

    Thanks for the tip. Salamat sa tip. Mine was already properly adjusted through the use of the Configuration Mania add-on. Mine ay maayos na nababagay sa pamamagitan ng paggamit ng configuration Mania add-on.

    How about preventing websites from blocking access to the clipboard? Paano ang tungkol sa pagpigil sa mga website mula sa pagharang ng access sa clipboard?

  6. Syahid A Syahid A

    Sweet! Matamis! I don't know that we can do that in FF! Hindi ko alam na magagawa natin na sa FF!

  7. Joyce Joyce

    Disabling right click sends the message, “We think you're too stupid to figure out how to get access to our images and source code.” That's all that does. Ang hindi pagpapagana ng karapatan i-click ang nagpapadala ng mensahe, "palagay namin ay ikaw ay masyadong boba para malaman kung paano makakakuha ng access sa aming mga imahe at source code." Iyan na ang lahat na ang ginagawa. If anyone doesn't want stuff “stolen” then they need to never put it on the internet to begin with. Kung kahit sino ayaw ng mga bagay-bagay "ninakaw" pagkatapos ang kailangan nila upang hindi na ilagay ito sa internet sa magsimula sa. Disabling right click is the silliest thing since pet rocks. Disable right click ay ang silliest bagay dahil alagang hayop bato.

  8. bassmadrigal bassmadrigal

    I have always used a bookmarklet. Lagi ko ginagamit bookmarklet isang. It is just some javascript code which will restore the context menu that you save as a bookmarklet. Ito ay lamang ng ilang javascript code na kung saan ay ibalik ang context menu na ninyong i-save bilang isang bookmarklet.

    I added it below, but I am not sure if it will allow it to be posted. Idadagdag ko ito sa ibaba, ngunit hindi ako sigurado kung ito ay papayagan ito ay nai-post.

    javascript:(function()%20{%20function%20R(a){ona%20=%20%22on%22+a;%20if(window.addEventListener)%20window.addEventListener(a,%20function%20(e)%20{%20for(var%20n=e.originalTarget;%20n;%20n=n.parentNode)%20n[ona]=null;%20},%20true);%20window[ona]=null;%20document[ona]=null;%20if(document.body)%20document.body[ona]=null;%20}%20R(%22contextmenu%22);%20R(%22click%22);%20R(%22mousedown%22);%20R(%22mouseup%22);%20})() javascript: (function ()% 20% (20function% 20R (a) (ona% 20% = 20% 22on% 22 + a;% 20if (window.addEventListener)% 20window.addEventListener (a,% 20function% 20 (e )% 20 (% 20for (var% 20n = e.originalTarget;% 20n;% 20n = n.parentNode)% 20n [ona] = null;% 20), 20true%);% 20window [ona] = null;% 20document [ona] = null;% 20if (document.body)% 20document.body [ona] = null;% 20)% 20R (% 22contextmenu% 22);% 20R (% 22click% 22);% 20R (% 22mousedown % 22);% 20R (% 22mouseup% 22);% 20)) ()

    I also have more that I found at this website Ako din magkaroon ng higit na ko matatagpuan sa website na ito
    https://www.squarefree.com/bookmarklets/ https: / / www.squarefree.com/bookmarklets/

    I just created a folder on my bookmarks toolbar, and just dragged the bookmarklets that I wanted into it. Ko na lang ay lumikha ng isang folder sa aking mga bookmark toolbar, at lamang dragged ang bookmarklets na pinaghahanap ko sa ito. Some of them can be extremely handy. Ang ilan sa kanila ay maaaring maging lubhang magaling.

  9. null null

    I use NoScript with Firefox for this. Gamitin ko NoScript sa Firefox para sa mga ito. It was originally a security thing, but I've found it's now more for convenience, allowing me to disable annoying javascripts while allowing ones that are useful (eg GoogleDocs) through Ito ay isang orihinal na seguridad na bagay, ngunit ko nahanap ito ngayon ng higit pa para sa kaginhawaan, nagbibigay-daan sa akin upang huwag paganahin ang nakakainis javascripts habang na nagpapahintulot sa mga na kapaki-pakinabang (halimbawa GoogleDocs) sa pamamagitan ng

  10. Izkata Izkata

    Alternatively, most sites that do the alert popup do it in such a way that the right-click event goes undetected by the script if you do it a slightly different way: Bilang kahalili, karamihan sa mga sites na gawin ang mga alerto ng popup gawin ito sa paraan na ang i-right click kaganapan napupunta undetected ng script na kung gagawin mo ito ng isang bahagyang iba't-ibang paraan:

    *Hold the left mouse button * * * Hold ang kaliwang pindutan ng mouse
    *Press and hold the right mouse button * * * Pindutin at pigilin ang karapatan pindutan ng mouse
    *Release the left * * * Release sa kaliwa
    *Release the right * * * Pakawalan ang karapatan


Leave a Comment Iwanan ng isang Puna




Leave your Iwanan ang iyong mga friendly friendly comment here. puna dito.

If you have a computer help question, Kung ikaw ay may isang computer ng tulong tanong, click here to leave it on the forums i-click dito upang mag-iwan ito sa forums instead. sa halip ng.

Note: Your comment may not show up immediately on the site. Tandaan: Ang iyong puna ay maaaring hindi magpapakita agad sa site.

Our Friends Ang aming mga Friends
Getting Started Pagsisimula


About How-To Geek Tungkol sa Paano-Upang Geek
What Is That Process? Ano ba ang Proseso Iyon?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.