Closed
Bug 174795
Opened 22 years ago
Closed 21 years ago
Option to block Javascript Blocking of text selection
Categories
(SeaMonkey :: Preferences, enhancement)
SeaMonkey
Preferences
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 167396
People
(Reporter: henrik, Assigned: joki)
Details
Some websites find it fun to disable selection of text on their pages. I would
like an option to block these kinda scripts like we have the blocking of popup
windows or change of status text.
The javascript that is used is:
<script language=JavaScript1.2>
//Disable select-text script (IE4+, NS6+)- By Andy Scott
//Exclusive permission granted to Dynamic Drive to feature script
//Visit http://www.dynamicdrive.com for this script
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
</SCRIPT>
Comment 1•22 years ago
|
||
Probably if a site wants you not selecting someting there is a reason for it,
and its their site, so its completely up to them to block you from selecting
something. Its different from popup blocking because popups are an annoyance,
and are often abused, when blocking text selection is not a very common
practice. Anyways, this is not dom events, moving to Preferences.
Component: DOM Events → Preferences
see bug 167396 comment 11
*** This bug has been marked as a duplicate of 167396 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•