>>You mean a bookmarklet?
So it is possible!
I have a tool in C:\Tools\MyTool.js. What do I change my bookmarklet (how cute) to so it executes instead of opening?
Paul
Main Topics
Browse All TopicsAll,
I have a JScript tool I use in Explorer on web pages. I can drag the tool from my favorites onto the page and it is performed on the page contents.
How can I do the equivalen in FireFox?
Paul
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
ahhh... now it gets tricky...
I never found a way of doing this :-(
I only managed to execute commands less than 1000 chars (or something) in length, due to restrictions in URL length (under IE)
It *may* be possible to add a link to your script into the page, then execute commands from the script, but I would imagine you'd hit all sorts of cross-site scripting security issues...
What is it you're trying to do? Maybe something already exists to do it?
Tim
Its actually a points splitter I found. It was written by DanRollins. Essentially, you hit the 'Split Points' link on your question and then invoke the script. It walks through the question building a list of all contributors and distributes the points equally among them. I doubt if thats possible in one line.
Obviously there's no chance of embedding it in the page.
I used to use Explorer but since I've moved over to FireFox I'm not going back :-) In explorer you just drop the script on the page and it executes.
Paul
All,
I disabled all my extensions (wierd feeling) and tried it again:
javascript:function splt(){s=document.body.inn
Still showing '0'. Any more thoughts?
Is there any other way of getting the contents of the current page?
I keep feeling that the disappearance of the bookmarks sidebar after execution is important. What might that mean?
Paul
A technique I often use to track down bugs is to try to discover how I would do it deliberately so:
How would you make the sidebar go blank (if its there) and both appear AND be blank if its not there, using JScript?
Paul
P.S. Could this be a FF Version issue? As I said, I have 1.5.0.1. Is that the same as yours? Are you running Windows XP-SP2 like me?
yay! yeah, now the code mplungjan gave here http:Q_21807403.html#16413
i dont use the sidebar... that's my excuse anyway ;-)
good luck!
Tim
It worked! Thanks all!
Here's the code in case anyone wants it! I added a bit to the original to not give me any points and a few other bits.
javascript:function splt(){s=document.body.inn
Paul
Business Accounts
Answer for Membership
by: TimYatesPosted on 2006-04-09 at 11:45:50ID: 16412496
You mean a bookmarklet?
ie put the following as the location of a new bookmark:
javascript:function d(){ alert( document.title );};d();
then when you click the bookmark, it will alert you with the current page title...
Tim