Well, with a firefox extension, you may be able to do it. If Firefox does not already have this feature built into it (I don't think that it does), then it may require writing something in c++ (and compiling it). It would also need to be made accessible via javascript. Then using an...
If it is of any help to you...
Although this solution with javascript does work, a more robust solution would be to go with a server side script.
From the perspective of which solution is best for a particular situation, a sever side script would be the best choice in this particular situation...
In reference to your post about filters, the reason that Netscape/Firefox/Mozilla do not support it, is because they are not a part of the Internet Standards (defined by w3.org and other organizations).
However, the problem, at least up to now, has been that there was no standard for making...
The script worked for me in Firefox when I commented out this line:
window.location.href = "<%= Request.QueryString["destPage"]%>";
The script was sending me to the new page before it ever started running the progress indicator. Apart from that, the script works the same in IE and Firefox...
Ok, found the solution on xulplanet.
Replace this line:
<text value="Put your User Ageement message here." style=""/>
with the following code:
<!-- Credits to: http://xulplanet.com/tutorials/xulqa/q_tmpl_html-iterate-full.html -->
<html xmlns:html="http://www.w3.org/1999/xhtml">...
About the closest solution that I can think of (without using plugins or other languages) would be to create a frame around all of the pages that you visit. Then insert some javascript into the frame to retreive the selected text and submit that data to a server-side script (perl/php)...
Like adam0101's link, such a feature is gonna require something more than just basic javascript. In addition to adam0101's solution, I suspect that you could also retreive the information in Firefox by creating a special extension.
Here's a "tutorial" on using window.open:
http://www.pageresource.com/jscript/jwinopen.htm
(from the following tutorials:
http://www.pageresource.com/jscript/index4.htm)
This thread deals with closing a window when it loses focuse:
http://www.tek-tips.com/viewthread.cfm?qid=1029426&page=5
You could adapt the code for your use. Note the two different code paths -- one for IE, one for other browsers.
If, however, you need a more reliable solution, then you could...
Perpaps the problem is in the other code.
Remove the additional code and test it. If it works, add in more until you narrow down the problem.
Also, take a look at the javascipt errors (if any): In IE, double click on the icon in the bottom, left corner of the status bar. In Firefox, use the...
Perhaps you could have a second iframe that attempts to retrieve the page. If it's successful, it will load the page in the iframe the user sees. If it fails (no network connection) it will prevent the page that the user sees from reloading from the server.
One solution would be to display the html source code and allow the user to copy and paste it.
Another solution would be to create a browser extension that allowed you to save the data.
What situation are you using this feature in? A website? Intranet app? For personal use?
What is the...
Do you know if a confirm alert will be acceptable?
Basically, the license agreement would be put on the main page, and then a little pop-up message would appear asking whether the user accepts the agreement or not.
If this is ok, then let me know where I can send you the files.
I posted about your particular issue here:
http://forums.mozillazine.org/viewtopic.php?p=1349367
It looks like it may require the use of an extension in order to do what you need.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.