CoLT: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
m (1個修訂)
(No difference)

Revision as of 11:49, 21 June 2009

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