Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Tuesday, 8 September 2020

Tuesday, 13 July 2004

, ,

Why do some sites prevent you from using the right-click function?

Such anti-right-click mechanisms are implemented to prevent visitors from viewing (and possibly stealing) the site's source code, copying and pasting text and saving images.

If you want to know how to stop people right-clicking on your own site, visit a free javascript snippet site like Dynamic Drive. Bear in mind though that none of these 'solutions' are totally foolproof. For instance, Firefox's javascript preferences menu allows users to prevent web sites from disabling their right-click context menu. Unticking a check box is hardly rocket science.

Friday, 4 June 2004

, , , ,

How do I disable the javascript components of my internet browser?

Again this depends on which browser (and which release version) you are using. In Internet Explorer 4.0 and above you can make the necessary changes from within the 'tools' section of your browser's menu bar. Scroll down to the 'internet options' menu and click on it. Now select the 'security' tab followed by the 'custom level' button. Finally scroll down the list until you come to the 'active scripting' option and select the disable button.

Firefox users can perform the same operation by visiting the 'web features' tab of the 'preferences' menu and unticking the 'enable JavaScript' checkbox. Firefox, being a wily creature, also allows you to selectively disable individual JavaScript functions so as to stymy web exploits and annoying gimmickry, without putting you at a disadvantage where accessibility is concerned.

Saturday, 9 August 2003

,

How can I disable anti-right-click web site protection?

First up, you can just turn off javascript in your browser. Drastic perhaps, but very effective.

A second method is to keep your finger on the right mouse button after you have pressed it. When the "don't steal our links" warning message appears, press the enter key to close it and then release the right mouse button. You should discover that all the usual context menu functions will appear as though there is no right-click protection in place.

Another strategy is to press the right mouse button and hold it down while you use the left mouse button to close the dialogue box. Once this disappears, release the right button and ta da, up pops the menu.

If you're still having difficulties, try this procedure instead: right-click as usual to make the threatening message appear. Now press the enter key and right mouse button simultaneously. Once again the result is the appearance of the right-click context menu.

Some of these will work with some sites, but not others, and vice versa, so make sure you etch all of them onto the insides of your eye lids for future reference.

Saturday, 23 November 2002

Tuesday, 12 June 2001

, , ,

Why do some sites hide the URLs of their files or pages?

If you hover your mouse pointer over one of the text links on this page you will notice that the name of the page or file linked to and its location will be displayed in the bottom left corner of your browser. Some webmasters choose to insert javascript code into their pages in order to mask this information. This may be done to display important information or for misguided aesthetic reasons, but can also be used to conceal links to dangerous files or pages designed to redirect you to the site's sponsor or malevolently coded web sites.

If you are in any doubt you can right-click on a link, select 'properties' and assess the URL for authenticity. If it contains a CGI or PHP reference with an ID code you should be wary of rushing into clicking on it. This is generally a good rule of thumb, however, there are some exceptions that you should be aware of - when the site is using an anti-leech system, for instance, to prevent people from harvesting the entire contents of the site using an automated download tool.

Firefox users can prevent web sites from tampering with the status bar like so: open up the 'preferences' menu, select the 'web features' tab and click on the 'advanced' button adjacent to the 'enable javascript' check box. Now untick the (allow scripts to) 'hide the status bar' and 'change status bar text' check boxes and click 'OK'.

Tuesday, 1 February 2000

, , ,

Why when I click on the link to a file does nothing happen?

Because some links function in the same way as pop-ups, any pop-up disabling programs you have installed can prevent the download process from initiating. You can test this theory by temporarily turning off any anti-pop-up devices and clicking on the files again. If it works you'll know what was causing the problem.

Also make sure that javascript is enabled in your advanced internet options. To check this, open Internet Explorer and click on the 'Tools' option. Now select 'Internet Options' followed by the 'Advanced' tab - some links, to function correctly, require a javascript enabled browser. If you have javascript disabled, obviously they won't work.