Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Firefox to qm
#4
first install:
ChromEdit Plus Special Edition
http://webdesigns.ms11.net/chromeditpSE.html

and take a look at
http://webdesigns.ms11.net/ChromeFiles.zip

put the attached file into \chrome\UCJSFiles\

On Windows XP/2000, the path is usually %AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\, where xxxxxxxx is a random string of 8 characters. Just browse to C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\ and the rest should be obvious.

this is only neccerary when you want to have an icon in the menu:
add the following code the userChrome.css (you will have to change the path to your qm icon) and restart FF.
Code:
Copy      Help
menuitem[label="LaunchQM"]  {
   background-image: url("file:///C:/Dokumente und Einstellungen/pi/Eigene Dateien/My QM/qm.png") !important;
   background-position: top left !important;
   background-repeat: no-repeat !important;
}

in the script i call function ff2qm (line 44),
Code:
Copy      Help
var args = ["Q","+","M","+ff2qm+","A",[aURI.spec],"context"];
in case you don't the second argument just remove it (example function has to be changed too Idea ).

Code:
Copy      Help
var args = ["Q","+","M","+ff2qm+","A",[aURI.spec]];

ff2qm
Code:
Copy      Help
/
function [$a1] [lpstr'a2]

sel a2
,case "context"
,,_s=a1
,,_s.setclip
,case else
,,out a1


Attached Files
.zip   LaunchQM.uc.zip (Size: 1.08 KB / Downloads: 521)
.zip   qm_png.zip (Size: 407 bytes / Downloads: 612)
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)