tags 310779 wontfix thanks While I concur with most of the sentiments expressed in this report, I can't use it to do something as invasive as bundling greasemonkey and some script to change expected behavior.
I think the best thing to do would be to package greasemonkey and some useful greasemonkey scripts for Debian. * Robert Millan ([EMAIL PROTECTED]) wrote: > Package: mozilla-firefox > Version: 1.0.3-2 > Severity: wishlist > Tags: patch > > Quoting from author of this hack: > > "I've always thought user should be able to choose where to load new documents > from links. I say you as developer can use a cookie and provide that option if > user wants to, but only if user wants to (see my preferences form at the end > of > page). A lot of other people think the best option is not letting them think > and open everything in a new window. I hate those situations. What if i want > to > stay in my window? Hey, if i like your site i'll be back... Anyway, they > insist > in using target _blank. Well, all that's finished. Bye bye target _blank. > Wanna > know how? Keep reading..." > > This could be added to debian package of firefox easily. It just consists of: > > - preloading the greasemonkey extension > (http://greasemonkey.mozdev.org/) > - preinstall a simple user script like this: > > **********************BEGIN > // ==UserScript== > // @name killblank > // @namespace http://meddle.dzygn.com > // @description Gets rid of annoying target="_blank" links (damm, i > want to decide my target!) > // @include * > // ==/UserScript== > (function () { > var external = document.links; > for (var k=0; k<external.length; k++){ > if (external[k].href) { > external[k].target = "_self"; > } > } > })(); > *********************END > > (improved version from the one in > http://meddle.dzygn.com/v3/js/killblank.user.js) -- Eric Dorland <[EMAIL PROTECTED]> ICQ: #61138586, Jabber: [EMAIL PROTECTED] 1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ G e h! r- y+ ------END GEEK CODE BLOCK------
signature.asc
Description: Digital signature