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 Prevent siten Websites Od Messing Z desno miškino tipko in v 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. Če ste porabljati časa na spletu, ki ste jih že vodijo v spletno stran, ki uporablja javascript onemogočiti desni klik menija na stran ... ki jih je mogoče res, res draži, za tiste od nas, ki radi uporabljajo " back "funkcijo na kontekst meniju.

Why do they do this? Zakaj to počnejo? 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. Ponavadi je zgrešena poskus ljudem, da vidijo vir njihove strani ali krajo svoje slike, vendar so vsi ti res je, na koncu siten v svojih bralcev nikoli vrnil. Ever. Vedno.

Hint: it doesn't really stop anybody from stealing. Namig: to ni res ustavi nikogar s krajo. It's the tech equivalent of searching 85-year old grandmothers on airplanes for knitting needles. It's tech protivrednosti iščejo 85-letni babic na letalih, za pletilne igle. If you do it on your pages, stop it now. Če si to naredil na svojih straneh, nehaj zdaj.

Disabling Annoying Context Menu Javascript Nonsense Onemogočanje siten Context Menu Javascript Nesmisel

Open up the Tools \ Options panel, and then go to the Content “tab” on the top. Odpri Tools \ Options panel, nato pa pojdite na vsebine "tab" na vrhu. You'll see three buttons on the right-hand side, choose the one that says “Advanced”. Videli boste trije gumbi na desni strani, izberite tistega, ki pravi "Advanced".

Firefox Options Window

From this dialog you can uncheck the option for “Disable or replace context menus”. V tem pogovornem oknu lahko počistite možnost za "onesposobiti ali zamenjati ozadje menijev". 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. Opomba: Če želite preprečiti tudi spletne strani z razširitvijo okna brskalnika, lahko počistite "Premikanje ali spreminjanje velikosti obstoječih okna", medtem ko ste na to.

Firefox Advanced Javascript Settings

And now your context menu will work perfectly fine on the page. In zdaj bo vaš kontekstni meni dela popolno lep na strani.

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. Omeniti je treba, da onesposobitev bo ta nastavitev preprečuje meri ozadje menijev delati na spletnih mestih, kot so Google Docs ... zato je Neriješen na funkcijo, ki ti je všeč več.

This article was originally written on 01/19/09 Tagged with: Ta članek je bil prvotno napisan na 01/19/09 Tagged with: Firefox & Web Firefox & Web

Daily Email Updates Dnevni Email Updates

You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:


Name: Ime:
Email: E-pošta:

Comments (10) Komentarji (10)

  1. Big Dan Big Dan

    I cannot tell you how many times I've had that annoyance come up. Ne morem povedati, koliko krat sem imel, da motnjo prišel gor. Not that I'm going around the net stealing page source or images. Ne, da bom okoli neto tatvina izvorno kodo strani ali slike. I have Imam Hyperwords Hyperwords installed and need my right click menu to work. umestiti ter potrebo po moji desni klik menija delo.

    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. Kaj irks vedno me je to v ničemer ne ščiti vir Firefox Ctrl + U privleči ki gre gor vir v novem oknu, dodatno Ctrl + F (najti), prikaže iskalno polje, da bi našli kaj želite v viru. Similar functionaliy is available in every browser. Podobne functionaliy na voljo v vsakem brskalniku.

    Really the right click disable scripts do nothing but annoy technically adept users. Res onemogočiti desni klik skripte storiti ničesar, ampak sitnost tehnično Naslednica uporabnikov.

  2. Damian Damian

    It also really messes up disabled peoples accessibility add ons and / or special browsers. Prav tako pošteno sel ki gre gor invalidnih oseb dostopnost dodati ons in / ali posebne brskalnike. I will let my disabled user groups know about this – another excuse to get everyone onto firefox Bom pustil svoje invalidnih uporabnikov ve, o tem - še izgovor, da dobite vse na firefox ;)

  3. Bailey Bailey

    And for those of us who want to keep our customized Google Docs context menu, there's a simple solution. In za tiste od nas, ki želijo ohraniti našo prilagojene Google Docs menija, obstaja enostavna rešitev. Get Firebug for Firefox and use it to delete the right click script on your computer's local copy. Get Palikuća za Firefox in ga uporabi za brisanje desno skript klik na računalniku lokalno kopijo. Alternatively (and I prefer), you can Adblock the script (if it's external) that has the right click disbaling function. Druga možnost (in jaz raje), lahko Adblock scenarij (če je zunanji), ki ima desni klik disbaling funkcijo. (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!) (Mozilla Hej, tukaj nekaj dodati na FF 3,1 ... lahko navedejo JS napredne možnosti za vsako posamezno mesto, vendar še vedno svetovni možnosti!)

  4. lilsting10 lilsting10

    SWEET! SWEET! I hate websites that resize your brower windows, I never even realised that option was built into FF3. Sovražim, da je velikost vaše spletne strani brower okno, nikoli nisem niti spoznal, da je bila možnost, zgrajen v FF3. Thank you. Hvala.

  5. Andrew Andrew

    Thanks for the tip. Hvala za nasvet. Mine was already properly adjusted through the use of the Configuration Mania add-on. Mine so že ustrezno prilagodi z uporabo konfiguracije Mania add-on.

    How about preventing websites from blocking access to the clipboard? Kaj pa preprečuje blokiranje spletnih strani od dostopa do odložišče?

  6. Syahid A Syahid

    Sweet! Sladek! I don't know that we can do that in FF! Ne vem, da lahko storimo, da v 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. Onemogočanje desni klik pošilja sporočilo, "Mislimo, da si preveč neumen, da ugotovimo, kako pridobiti dostop do naših slik in izvorno kodo." To je vse, da ne. If anyone doesn't want stuff “stolen” then they need to never put it on the internet to begin with. Če kdo ne želi stvari "ukraden", potem morajo nikoli ne postavite na internetu za začetek. Disabling right click is the silliest thing since pet rocks. Onemogočanje desni klik silliest stvar od pet kamenje.

  8. bassmadrigal bassmadrigal

    I have always used a bookmarklet. Vedno sem se uporabljajo Bookmarklet. It is just some javascript code which will restore the context menu that you save as a bookmarklet. To je samo nekaj javascript kode, ki bo ponovno kontekstni meni, da shranite kot Bookmarklet.

    I added it below, but I am not sure if it will allow it to be posted. Dodal sem ga v nadaljevanju, vendar nisem prepričan, če bo to omogočilo, da je napoten.

    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 () (ona% 20% = 20% 22on% 22 +,% 20if (window.addEventListener) 20window.addEventListener% (,% 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% (22% 22mouseup%), 20%)) ()

    I also have more that I found at this website Imam tudi več, da sem našel na tej spletni strani
    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. Pravkar sem ustvaril mapo v Moje bližnjice orodni vrstici, in samo vlekel bookmarklets, da sem hotel v to. Some of them can be extremely handy. Nekatere od njih lahko zelo priročen.

  9. null null

    I use NoScript with Firefox for this. Jaz raba noscript s Firefox za to. 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 To je bila prvotno varnostno stvar, vendar sem ugotovila, da je zdaj bolj za udobje, ki omogoča, da me onesposobiti siten javascripts hkrati pa omogoča tistim, ki so koristni (npr. GoogleDocs) prek

  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: Druga možnost je, večina strani, ki razpis ukrepa, ljudstvo pa je na tak način, da z desno tipko kliknite dogodek, ki ga gre neopaženo scenarij, če vam je nekoliko drugačen način:

    *Hold the left mouse button * Držite levi gumb miške
    *Press and hold the right mouse button * Pritisnite in držite desno tipko miške
    *Release the left * Release levo
    *Release the right * Release pravice


Leave a Comment Pustite komentar




Leave your Pustite friendly prijazen comment here. comment here.

If you have a computer help question, Če imate računalnik pomagati vprašanje, click here to leave it on the forums kliknite tukaj, da ga pustijo na forumih instead. namesto.

Note: Your comment may not show up immediately on the site. Opomba: Tvoj komentar morda ne pokažejo takoj na mestu.

Our Friends Naši prijatelji
Getting Started Getting Started


About How-To Geek O Kako naj Geek
What Is That Process? Kaj je to proces?
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.