/    Sign up×
Community /Pin to ProfileBookmark

need help with a script for firefox

hey all, i use the no right click scripts… but i gona need 1 that works in IE and Firefox…. any can help me get 1?? ( ps tell me where to implant it when u post 1 here) thx.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAOct 12.2006 — To my knowledge, that can't be done. It's an IE specific function.

KDLA
Copy linkTweet thisAlerts:
@mrhooOct 12.2006 — You can detect which button is clicked in firefox with the [B]button[/B] property of the event passed to the handler-

0-left button

1-middle

2-right

If the event's button value is not 0 (left button) you can use preventDefault() and stopPropagation() to halt the event processing.

It is best to use this on individual elements, and not the window object itself.
×

Success!

Help @xTaurnilx spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...