Akregator "Open in EXISTING browser window" :D

Hi,
Been bugged by this issue for a while since I moved browsers. Now I'm accustomed to Akregator and actually quite like the way it handles RSS.
However, I prefer browsing in a single window on a single desktop. I put Kontact (with KMail/Akregator) on the second desktop. Akregators default "Open in external browser" works well... as long as the existing window of Konqueror is on the same desktop as Kontact/Akregator.
I created a custom bash script to handle this. Yes, it mainly comes from Kadu (the QT Gadu-Gadu client), but I've modified it a bit.
#/bin/bash
# Copyright (c) Kadu Team
# Modified by Michal 'Neuro' Witkowski
found=0;
for i in `/opt/kde/bin/dcop | grep konqueror`; do
isshown=`/opt/kde/bin/dcop $i "konqueror-mainwindow#1" shown`;
if [ $isshown == "true" ];then
/opt/kde/bin/dcop $i "konqueror-mainwindow#1" newTab "$1" && found=1;
/opt/kde/bin/dcop $i "konqueror-mainwindow#1" "raise";
fi;
if [ $found == "1" ]; then
break;
fi
done;
if [ $found != "1" ]; then
/opt/kde/bin/kfmclient openURL "%1";
fi;
In case anyone would need it.

on (release) {
getURL("
http://www.frsind.com/specials.html",
_self);

Similar Messages

  • Opening a new URL in an existing browser window from a Java application

    I've tried one of the many codes to open a new browser window and it works, but I need something else.
    Is there any way to open a new URL on the same window on a Java desktop application? (Changing the URL on the current browser window without opening a new one, I mean).

    You can do that by using an add-on such as:
    * NewTabURL - https://addons.mozilla.org/firefox/addon/newtaburl
    * New Tab Homepage - https://addons.mozilla.org/firefox/addon/new-tab-homepage
    Another way of opening the home page in a new tab is to middle click on the home button in the navigation toolbar.

  • How to open a new browser window without toolbar, location, and menu bars from AIR?

    I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
    Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
    Best regards,
    Arkady.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • Unable to Open a New Browser Window

    I have a couple users who are having trouble logging in to Discoverer on new PCs. They are using Internet Explorerer 8. They are able to get to the login screen, but when the hit connect (or Go) they get an error: "Unable to open a new browser window. Ensure that you do not have popup windows disabled for this site."
    Obviously the first thing I had them do was turn off the popup blocker all together. But they still get the error (even after they restart their PC). Other than that, is there something I am missing in how they need to configure IE8? I'm personally used to using IE6 at work and don't know much about configuration setting for IE8.
    Thanks!

    Hi,
    Exactly not sure,see if there are any pop-up blockers still exists,if so try turning pop-up on and off and check it.One more thing what java plug in are you using?? May be it perisists due to java also.
    Best Wishes,
    Kranthi.

  • How to open a new browser window from a JSP page?

    Hi,
    I am picking up records from the database and displaying each record in a seperate text area field using the JSP code. I should be able to display the content ( available in the text area) in a seperate window if the user clicks on one icon.
    Is it possible to open a new browser window using JSP? If yes, how can I write information on the new browser window?
    Thanks in advance.

    Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • Firefox 'opens' but doesn't/won't open an actual browser window?

    Firefox Beta 4 has crashed out on me several times, but since the most recent crash Firefox will 'open,' but doesn't actually open a new browser window. Even if I go to the menu and manually select "new window" it doesn't do so. Nor can I submit comments under the "Firefox Makes Me Happy/Sad because..." tabs. It's simply not opening new windows. When I go to the force-quit window, it doesn't show up as hanging, however. Two close outs of Firefox, and two restarts of the computer have not resolved the issue.
    Most recent attempt to generate a new browser window generated the following error codes:
    Error: no element found
    Source File: https://testpilot.mozillalabs.com/testcases/index.json
    Line: 1
    Warning: Unknown property 'zoom'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 6
    Warning: Error in parsing value for 'filter'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 6
    Warning: Unknown property 'zoom'. Declaration dropped.
    Source File: http://www.google.com/
    Line: 0

    Try running Firefox in [[Safe Mode]]. If it functions properly in that configuration, one of your add-ons is the culprit.

  • How do I make it so that Firefox does NOT close my other windows when I open a Private Browsing window?

    Whenever I open a Private Browsing window, it closes all of my non-private windows until I end the private session. Is there a setting or add-on that will make it so I can have both private and non-private windows open? Both Internet Explorer and Chrome allow you to do this and it is the only reason I'm not using Firefox.

    That unfortunately is the way that Firefox works.
    You could create a new Firefox profile, but it would have it's own set of bookmarks,
    you could use a different browser for either half, but again it would not share you
    bookmarks. Firefox has the best bookmarks, but I understand your situation.
    Private browsing does not suit my usage because it turns off everything privacy related and I would not want to turn off bookmarking or lose my session data. I am the only user on my computer.

  • How can I open a new browser window!!!  Very Challenging!!!

    I have a form (name=MAIN) with a submit button (name=Button A). Button A opens a new browser window (name=SEARCH), via an HTML form target tag (<FORM TARGET=A>). Window SEARCH has multiple submit buttons (10-15). Each button has a different action which is handled by a servlet (form name and button name are passed to a servlet as a hidden field in the form to determine the action), which is setup to be an action handler. When a button in the SEARCH window is clicked the results are retrieved from an Oracle database and should be displayed in the text fields in window MAIN.
    For example, some results may be displayed in window SEARCH (_self) and and other results may be required to be sent to window MAIN depending on the button clicked.
    How can I setup window SEARCH so each button can have a different target window (some may be window MAIN or other windows)? Using a form tag for each button doesn't give desirable results. Is there a way to do this with JSP or some form of Java code?
    A form tag can only have one target. Basically I have one form with multiple submit buttons. How can I get it to send each submit buttons results to a specific window?
    Thanks.

    <!-- try this -->
    <script language="JavaScript1.2">
    function mysubmit(mytarget){
    document.myform.target=mytarget;
    document.myform.submit();
    function validation(myform){
    //validation stuff
    return [true | false];
    </script>
    <form target='none' name='myform' action='myaction.jsp' method='post' [onsubmit='return validation(this)']>
    <input type=button name='submit1' value='submit1' onclick='mysubmit("target1")'>
    <input type=button name='submit2' value='submit2' onclick='mysubmit("target2")'>
    <input type=button name='submit3' value='submit3' onclick='mysubmit("target3")'>
    <input type=button name='submit4' value='submit4' onclick='mysubmit("target4")'>
    </form>

  • Opening a new browser window in APEX

    Hi.
    I am trying to open a new browser window in APEX (v2.1) for a new Navigation Bar Entry.
    What I did is the following:
    1) Created the new Navigation Bar Entry
    2) On the properties of this entry I put the Target Type: "URL"
    and on the Target: javascript:window.open('f?p=&APP_ID.:63:&APP_SESSION.:::::' , 'Despre','scrollbars=1,resizable=1,width=400,height=600');
    when I click on my Navigation Bar Entry, the page 63 opens on the same window,NOT on a NEW browser window.
    Can you please help ?

    It seems that I found the answer.
    I had to do the following:
    javascript:(window.open('f?p=&APP_ID.:63:&APP_SESSION.:::::', 'Despre','Scrollbars=1,resizable=1,width=400,height=600')).focus();
    and then logout and login back in the application and it worked.

  • Opening a new browser window always puts a flv-file (0bytes of a youtube vid viewed earlier) on desktop. Firefox 18.02

    Opening a new browser window always puts a flv-file (0bytes of a youtube vid viewed earlier) on desktop. Firefox 18.02
    viewed the yuotube vid yesterday. deleted all the flv-files on the desktop.
    same thing today, a new window always puts the same empty file from yesterday.
    any suggestions?

    You can check the home page setting:
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • Pdf links will not open in new browser window

    I have created a pdf document in Acrobat 9 Pro that is password protected. You must enter the password to open it. In this document there are perhaps 15 links to other pdf documents. I set up each of the links to open in a new window. The links work as expected in Acrobat, each opening in a new window, however, when I posted the documents to the web, the links open in the same window as the original document. This would not be a big issue if the original document were not password protected, but each time the user clicks on a link, it takes him out of the original document. To get back to the original document requires re-entering the password. This is a major irritation with so many links.
    I know that you can set Acrobat to display the documents in its own window rather than in the browser, but my users don't know that. Control clicking on a pdf link does not open it in a new window as it would with an HTML link. Is there a simple fix to this problem that does not involve user intervention?

    Well, I came up with a solution, thanks to Ted Padova who offers a simple JavaScript solution on his blog at http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows.
    The solution is clearly laid out even for beginners, if you know how to create a link or button.
    It seems to me that a prime objective of Adobe in developing Acrobat would be to have it behave the same way in free-standing mode and as a plug-in. In this case it does not, and obviously, it has not for the last forty-eleven years that Acrobat has been on the market. Maybe some day they will get around to a fix for this obvious problem. In the meantime, read Ted's blog and be happy we have guys like him who can solve these problems.

  • JavaScript for opening a new browser window.

    Hi all,
    Let me start by saying that I'm not JavaScript savvy at all.
    I have two buttons on a slide and I want each to open a new browser window.
    I Googled for a script and found this:
    window.open ('URL')
    I tried in my project and it worked fine but the browser window that my project was running in also changed.
    I've attached a .gif image of what happens to my project window when either of the two buttons is clicked.
    Can anyone help??

    You can check the home page setting:
    *Tools > Options > General > Startup: Home page
    *https://support.mozilla.org/kb/How+to+set+the+home+page
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • I close Firefox session and then try to open a new browser window - get message that Firefox is still running and I need to shut down and restart. Need a solution

    I close a Firefox browser and at a later time want to open a new browser window but get message "Firefox is still running and I need to shut down before I can open a new session" I do not want to shut down as this is laborious - I can go into task manager and processes and click on Firefox and end session that way but this is not the solution. Firefox seems to be running in background but I cannot open a new session window without doing on of the above.

    Have a look at this post, see if it is of any help (though related to Vista, but same issue can be there with Window 7 also)
    http://www.vistax64.com/browsers-mail/265937-firefox-exe-still-running.html

  • How do i open a new browser window(IE or Netscape)?

    I need to open a new browser window to show a web page returned by a PHP aplication.
    If i use an editorpane the returned page is shown unformatted.
    PLEASE HELP!
    Rui

    or to open a window using a hyperlink, u can try this:
    Link Name
    This will open a window and send then send u to the page you want for processing.

Maybe you are looking for