CoLT: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 1: Line 1:
CoLT is an extensions of [[MozillaFirefox|Firefox]] (compatible with Fx 2.0). It's convenient to copy the hyperlink and its associated text.
CoLT(Copy Link Text) is an extensions of [[MozillaFirefox|Firefox]] (compatible with Fx 2.0). It's convenient to copy the hyperlink and its associated text.


{{Software version| software=CoLT | url=http://www.borngeek.com/firefox/colt/ |  version=2.2.1 }}
{{Software version| software=CoLT | url=http://www.borngeek.com/firefox/colt/ |  version=2.2.1 }}

Revision as of 00:55, 3 November 2006

CoLT(Copy Link Text) is an extensions of Firefox (compatible with Fx 2.0). It's convenient to copy the hyperlink and its associated text.

CoLT v.2.2.1


insert the "open to new window" code

Download the colt_2_2_1.xpi from Born Geek's website.

  • Rename colt_2_2_1.xpi to colt_2_2_1.zip
    • Extract all files of colt_2_2_1.zip to colt_2_2_1/*.*
  • Rename the chrome/colt.jar to colt_old.zip
    • Extract all files of colt.zip
  • Open the chrome/colt_old.zip/content/colt.js
    • modify the following part

From

	case "html":
		myString = "<a href=\"" + linkURL + "\">" + linkText + "</a>";
		break;

To

	case "html":
		myString = "<a href=\"" + linkURL + "\ target=\"_blank\">" + linkText + "</a>";
		break;
  • Compress chrome/colt_old.zip/*.* to chrome/colt.zip, and
    • rename chrome/colt.zip to chrome/colt.jar
  • Repack colt_2_2_1/*.* to colt_2_2_1.xpi


original result:

now will be