| |
| Title: |
Take Control |
| Date Added: |
| 2008-01-08 07:56:30 |
Installs: |
2347 |
|
| Description: |
Just a quick and dirty script to stop sites from disabling the right mouse button. Also stops sites from disabling printing and text selection. NOTE - I haven't tested the print bit much, so it may not always work.
I only added the most common elements to this, so if you want to add new ones, just add them to the array.
Quickfix version 1.5.2 - Sorted out the printing issue (don't know why it took so long to add one word in, but oh well). Removed onfocus as it is commonly used for effects.
version 1.5.1 - Disabled the printing code as it was causing issues with certain sites. I'll have another look at it later.
version 1.5 - Now works inside frames.
version 1.4 - Woops, changed code slightly to allow buttons to continue working! |
| Preview of Take Control |
|
| View script source of Take Control |
|
| Comment of Take Control |
 |
[2008-01-09 23:00:25]Wolfghost says: |
| Thanks buddy, realy cool script :) |
|
 |
[2008-01-10 02:21:29]alsiladka says: |
| Thanx mate, been looking for this script for a long time! |
|
 |
[2008-01-10 09:08:33]FremyCompany says: |
I thinks this script is not good...
Attached Events (by attachEvent method) are not blocked and some good thinks (like drag/drop, rollover, ...) are disabled...
So -1 |
|
 |
[2008-01-10 09:15:26]FremyCompany says: |
Please use :
// theWindow must be the window where the action take sense
function disableEvent(element, eventName) {
function notDisableable() { var event = element.ownerDocument.parentWindow.event; event.cancelBubble = false; event.returnValue = true; }
element.attachEvent(eventName, notDisableable)
} |
|
 |
[2008-01-10 09:16:33]FremyCompany says: |
| This code will allow to JS to be attached to the events but not to disable them |
|
 |
[2008-01-15 23:20:59]Arendedwinter says: |
| I'm aware it can stop certain scripts from functioning properly, but this was only meant to be a quick and nasty script. It works well for what it's meant to do. Feel free to make changes if you like, or disable it if it's interfering with a page. |
|
 |
[2008-06-23 02:04:37]FremyCompany says: |
Please use the version 2.0 now :
>> http://iescripts.org/view-scripts-396p1.htm
**************************
Merci d'utiliser la version 2.0 maintenant :
>> http://iescripts.org/view-scripts-396p1.htm |
|
|
| |
| Written by |
|
 |
| Name: | Arendedwinter |
| Scripts: | 2 |
| Styles: | 0 |
| Plugins: | 0 |
| Tags |
|
| mouse text copy paste disable |
|
| About IE7Pro |
| IE7Pro is a plugin for the Internet Explorer web browser. It allows you to change how your favorite pages behave and look. There are many scripts that have already been written, and if you know javascript you can easily create your own! This site is a repository to download and install IE user scripts. |
| How to install user script |
1 . First you should have install IE7Pro 0.9.12 and above which support IE user scripts. 2. Check if IE7Pro "Preference" - "User Scripts" - "EnabLe User Script" is enabled. 3. Find your favorite scripts on iescripts.org and click "Install This Script" . |
| |
|
|
| |