In JS, how to save a bookmark which can open in main, not sidebar?

I did lots of search on the web. People have been struggling with this problem for many years.
The scenario:
My standard_weight.php takes height parameter either from $_GET or from $POST. The web page has a form to let users type in height.
Control-D can save the location, but not the height.
My page is too simple to ask users to create an account and save profile.
So I want to provide a link users can click and bookmark the current page with height.
<pre><nowiki><script language="JavaScript1.2" type="text/javascript">
function CreateBookmarkLink() {
title = "my ideal weight";
height = function_to_get_current_height_value();
url = "http://my.site.com/standard_weight.php?height=" + height ;
if (window.sidebar) { // Mozilla Firefox Bookmark
window.sidebar.addPanel(title, url,"");
} else if( window.external ) { // IE Favorite
window.external.AddFavorite( url, title);
} else if(window.opera && window.print) { // Opera Hotlist
alert("Sorry, your browser doesn't support this function." );
return false ;
if (window.external) {
document.write('<a onClick ="javascript:CreateBookmarkLink();">Add to Favorites</a>');
} else if (window.sidebar) {
document.write('<a onClick ="javascript:CreateBookmarkLink();">Bookmark Page</a>');
} else if (window.opera && window.print) {
document.write('<a onClick ="javascript:CreateBookmarkLink();">Add Bookmark</a>');
</script>
</nowiki></pre>
When the link is clicked , a dialog will pop up and the user can save the bookmark.
The problem is that when the bookmark is opened, it is in sidebar. The bookmark property has the check for "Load this bookmark in the sidebar."
Asking users to clear the check is not a friendly solution.
Is there anyway to get around this problem?
If you google this topic, you can find that people has been struggling with this for long time. I guess that they just end up with saying "sorry, your browser doesn't support this function." on Firefox.
Best wishes to Firefox !

There are two Bugs related to a feature like that; one was WONTFIX'd and the other is still open.<br />
https://bugzilla.mozilla.org/show_bug.cgi?id=66248 <br />
https://bugzilla.mozilla.org/show_bug.cgi?id=214530
''(Please don't comment in that Bug report unless you can provide a patch to fix the problem.)''
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html

Similar Messages

  • How to save my bookmarks in a protected folder(google has an add on for favorits which will never be deleted) in case of harddisk format or computer crashdown?

    how to save my bookmarks in a protected folder(google has an add on for favorits which will never be deleted) in case of harddisk format or computer crashdown.

    The built-in Firefox Sync service allows you to store your settings, including bookmarks, on a Mozilla server. This isn't accessible as a file like Google Drive; it can only be used by connecting another copy of Firefox to your Sync account. You can read more about this here: [[How do I set up Firefox Sync?]] (I haven't tried it myself since it changed recently.)
    The cross-browser Xmarks service is more focused: it just does bookmarks. http://www.xmarks.com/ (I've never tried this one either)
    If you prefer working with files and you have a Dropbox or similar account, you could in theory back up your Firefox profile folder, or more particularly, the bookmarkbackups subfolder. I haven't tried that myself. To find the folder:
    Open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * Help menu > Troubleshooting Information
    In the first table on the page, click the "Show Folder" button
    A window should launch showing your currently active settings files. The bookmarkbackups folder should contain dated .json files which can be used to restore your bookmarks to another copy of Firefox.
    Alternately, someone might have created an add-on for saving Firefox bookmarks to the cloud another way, but I haven't heard of one.

  • How to save/backup bookmarks in firefox 5.01?

    Dear Support,
    Please teach me how to save/backup bookmarks in Firefox 5.01?
    (1) On the File menu, there is only "Import" option but no "Export" option for me to export or save my Bookmarks.
    (2) On the Bookmarks menu, there is no "Manage Bookmark" tab as some online help suggested.
    Thank you.

    Backing up and Restoring Bookmarks
    * https://support.mozilla.com/en-US/kb/Backing%20up%20and%20restoring%20bookmarks
    Check and tell if its working.

  • How to build a wsdl which can cater dynamically to number of attachments

    We have a WebService client that calls a Webservice on the Server.
    When the client calls the webservice , it passes the SOAP message(Header,Body & MIME attachments)and these attachments vary in number based on different business requirements.
    We know how to build WSDL for server with static number of attachments,but no clue on how to build a wsdl which can cater dynamically to number of attachments comming from client request.
    - thanks in advance

    Hello,
    We may have multiple approaches here depending of :
    - which version of the product you are using
    - what are your clients in term of stack, and API they are willing to use
    - which encoding did you use for your WS (swa, swaRef or dime)
    So for my answer I am documenting how to do it on OracleAS 10gR3 (10.1.3), using swaRef approach.
    The easiest way is to exchange array of binary data and describle that in the WSDL, so in my case the WSDL element that is used will look like that:
    <element name="filesResponseElement">
    <complexType>
    <sequence>
    <element name="result" type="ns1:swaRef" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </element>
    This will generate from the Java code an array of AttachmentPart[].
    Regards
    Tugdual Grall

  • In tiger, how do i list files which are open by some application.

    In tiger, how do i list files which are open by some application without using "lsof" command.

    Thanks,
    But i m looking for the function to list the files opened by some application.
    As i want to check whether a file is opened or not by some application.

  • When I receive a PDF in a email, why do I have save it before I can open it?

    When I receive a PDF in a email, why do I have save it before I can open it?

    you either don't have a reader plugin for your browser or you have a security setting preventing/blocker preventing non-local pdfs from opening in your browser.

  • I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.

    I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.  Not sure what to do next.

    It has been indicated that both of those cameras will be supported in the final release of Camera Raw 8.7. But there is no announced release date. There never is. I assume it will be before December 31. But that is only my guess based on the fact that the release candidate expires then.

  • Docs&settings only shows bookmarks from Int Explorer used previously, not Moxilla. How can I save the bookmarks which are shown correctly when using MF?

    I want to save my bookmarks as I have done periodically since 2000 using Xp.
    For copying to F drive or USB, procedure is open C drive, Documents and settings, my name, Favorites
    I have hundreds of sorted bookmarks which I update fairly often.
    Changed to MF about five years ago.
    It looks like nothing has been added to the Favorites within Documents and Settings since then - all have the blue Int. Explorer logo, none in Moxilla colours.
    I was unaware of this as all bookmarks are shown correctly to left of desktop.

    There are three basic options
    #You can backup the bookmarks in a form that Firefox can use. And these include any tags with them.<br />See [[Restore bookmarks from backup or move them to another computer]]
    #Firefox stores History in the same database: '''places.sqlite'' the whole of that or even the whole of the profile may be backed up if necessary. <br /> See [[Back up and restore information in Firefox profiles]]
    #You may back them up by '''export / import''' as HTML. These are the same sort of files as is used for IE favourites / favorites. (These will append or tack on to existing bookmark collections) <br />See [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    CARE if you restore bookmarks from a backup it overwrites your existing bookmarks so always back them up manually before doing any restore.
    Firefox creates its own library of bookmarks. It is possible to add HTML files from IE to these. You will not be able to make sense of Firefox's .json or .sqlite files other than by allowing them to be used within Firefox. The HTML files may probably be opened directly by Firefox or some other programs such as Word Processors.
    * See [[Import Bookmarks from Internet Explorer]]
    * Also see<br />[[How to use bookmarks to save and organize your favorite websites]] <br /> [[Use bookmark folders to organize your bookmarks]]

  • How to save Safari bookmarks when changing ownership and ID?

    My wife has her own iPad which I tied to my ID and account.  Now I would like to let her have her own account and ID.  I hope to share a few things eventually with home sharing.   I can use her iCloud email address to set up an account for her but am concerned about her Safari bookmarks which are not linked to my account.  How might I set her up and safe her bookmarks?

    Other things that need attention.<br>
    See http://www.mozilla.com/plugincheck/
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.0 r32
    # Next Generation Java Plug-in 1.6.0_16 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    See also http://kb.mozillazine.org/Profile_backup

  • BI 7.0 webtemplates - How to save a bookmark

    Hi,
    In 3.x webtemplates/web reports we can save the bookmarks on the IE explorer current session directly(not going for FAVOURITES), where as in BI 7.0 webtemplates this functionality is not there.
    I want the same functionality to implement in BI 7 templates, how can I change the 7 webtemplates, so that when I click on 'Bookmark' function it should not ask me to save in Favourites, but display the created bookmark in the current IE explorer .
    Thanks & regards
    Ramesh

    You can do a Copy & Paste in the Bookmarks Manager (Shift+Ctrl+B) to create a copy of a bookmark.
    You can also drag the (fav)icon in the location bar to a folder in the Bookmarks menu drop down list or to a folder in the side bar (Ctrl+B) or to the Bookmarks Toolbar.
    In the side bar you need to click to the left of the icon to prevent Firefox from opening the bookmark.
    Old Add Bookmark Behavior: https://addons.mozilla.org/firefox/addon/8479

  • How to create a structure which can hold a dynamic table as a field in DDIC

    Hi ,
           I am designing a solution for a problem and have a unique requirement.  I need to create a structure which can hold a field where dynamic table data can be stored.  Let me illustrate with an example :
    My structure  ( say  Z_output_struc ) will have the fields
    Table_name  Table_Data
    My function module will have a table type of the above structure, so in effect ,my output can have multiple table names and related to each of them, there will be table data of that table name. The issue is how do I configure this in DDIC ?
    I tried creating table_data as "Type ref to Data"  but was stuck  inside the func module when I tried to transfer data to this.
    Any pointers as to how to think about this differently ? 
    Best Regards,
    Girish

    Hi Girish,
    you start directly from the ref to data. You assign it to a field symbol and cast this to the type of the destination of your select. So you can directly add the reference to the cache:
    I hope this example helps a bit (I took a form instead of a function module as it is easier to add here and used an hr table as kna1 is empty on my test system):
    REPORT  z_rwe_99_dyn_tab_cache.
    * type definition
    TYPES:
      BEGIN OF _s_cache,
        table TYPE        tabname16,
        cache TYPE REF TO data,
      END   OF _s_cache,
      _t_cache TYPE STANDARD TABLE OF _s_cache.
    * data declaration
    DATA:
      lv_table     TYPE tabname16,
      lv_condition TYPE string,
      lt_cache     TYPE _t_cache.
    * define table and condition
    lv_table     = 'HRP1000'.
    lv_condition = 'plvar = ''01'' and otype = ''S'' and objid = ''50000016'''.
    * get the result of a single table into the cache
    PERFORM get_dyn_table USING
                            lv_table
                            lv_condition
                          CHANGING
                            lt_cache.
    * form to read a single table
    FORM get_dyn_table USING
                         iv_table     TYPE tabname16
                         iv_condition TYPE string
                       CHANGING
                         ct_cache     TYPE _t_cache.
      FIELD-SYMBOLS:
        <lt_table> TYPE ANY TABLE.
      DATA:
        ls_cache TYPE        _s_cache,
        lr_data  TYPE REF TO data.
      CREATE DATA lr_data TYPE STANDARD TABLE OF (iv_table).
      ASSIGN lr_data->* TO <lt_table>.
      SELECT * FROM (iv_table) INTO TABLE <lt_table>
        WHERE
          (iv_condition).
      ls_cache-table = lv_table.
      ls_cache-cache = lr_data.
      APPEND ls_cache TO ct_cache.
    ENDFORM.                    "get_dyn_table
    If you have more questions just give another post.
    Best Regards
    Roman

  • How to create a material which can be used in T-Codes VAO1 & MB1C create

    Hello Experts,
    How can I create a material which can be used to create a sales order and can be used to create inventory using VAO1 and MB1C T-Codes respectively.
    What are the configurations that I need to take care of, while creating it?
    I need to create a material which can be used in the whole sales cycle(sales order,goods issue,billing and etc).
    Please Help,
    Thanks in Advance,
    Suma

    Hi
    Thanks for your fast replies.. I have created a new material and was able to create inventory thru MB1C. But I was not able to generate a goods delivery(VL01N) and billing document(VF01)  for the sales order.
    Error: No schedule lines due for delivery up to the selected date
    Message no. VL248
    Diagnosis
    There are no schedule lines due for the given order item up to the date chosen.
    System Response
    The system does not create a delivery item for this order item.
    Procedure
    Check whether the order item to be delivered contains confirmed schedule lines.
    If this is the case, set the selection date further into the future if you still want to create a delivery for this item.
    Please suggest,
    Tanks,
    Suma
    Edited by: Suma B on Sep 23, 2008 3:55 PM

  • How to "Save for web" just the layer effect but not the content area?

    I fill the area with white, then add outter glow to the layer. Now I want to "Save for web" the outter glow effect but not the white area. I want the white area to be transparent. If I delete the white area, the layer effect goes away, if I merge the layer with another to flatten (think then I can delete the white middle while keeping the layer effect stay),  the layer effect look totally different after flatten.

    Set the fill to 0% in the layers panel (not the opacity). Then save for web as a PNG24, with transparency checked.

  • How to create one procedure which can drop and create materialized view

    Hi,
    I want to create one pl/sql procedure which can first drop materialized view CATEGORY_PK and after that create same materialized view CATEGORY_PK.
    programme is as follows:
    DROP MATERIALIZED VIEW CATEGORY_PK;
    CREATE MATERIALIZED VIEW CATEGORY_PK REFRESH FORCE WITH PRIMARY KEY AS
    SELECT cav1.ownerid AS categoryid, p.uuid AS productid ,p.domainID AS productdomainid,pav.stringvalue AS NAME
         ,pav2.stringvalue AS ID, pav3.stringvalue AS SHORT
    FROM product p, product_av pav, catalogcategory_av cav1, catalogcategory_av cav2,product_av pav2,product_av pav3
    WHERE
    cav1.NAME = 'PRODUCT_BINDING_ATTRIBUTE' AND
    cav2.NAME = 'PRODUCT_BINDING_VALUE' AND
    cav1.ownerid = cav2.ownerid AND
    p.uuid = pav.ownerid AND
              p.uuid = pav2.ownerid AND
              p.uuid = pav3.ownerid AND
    pav.NAME = cav1.stringvalue AND
              pav2.NAME = cav1.stringvalue AND
              pav2.NAME = cav1.stringvalue AND
    pav.stringvalue = cav2.stringvalue AND
              pav2.stringvalue = cav2.stringvalue AND
              pav3.stringvalue = cav2.stringvalue
    UNION
    SELECT catalogcategoryid AS categoryid, productid, repdomainid AS productdomainid,pav1.stringvalue AS NAME
         ,pav2.stringvalue AS ID, pav3.stringvalue AS SHORT
    FROM productcategoryassignment ,product_av pav1,product_av pav2,product_av pav3
         WHERE pav1.ownerid=productid
         AND pav2.ownerid=productid
         AND pav3.ownerid=productid
         AND pav1.NAME='name'
         AND pav2.NAME='productID'
         AND pav3.NAME='shortDescription';

    user498566 wrote:
    I want to create one pl/sql procedure which can first drop materialized view CATEGORY_PK and after that create same materialized view CATEGORY_PK.That sounds like a waste of time and resources. What do you hope to achieve by this? A refresh? If so, a simple refresh of the old materialized view will do.
    If you truly want to continue this road, you'll have to use the EXECUTE IMMEDIATE command to execute DDL commands from within PL/SQL.
    Regards,
    Rob.

  • IDE /Tool which can open  a jpd file stored in UNIX  from our windows deskt

    wanted to know which IDE /Tool can open a jpd file stored in UNIX from windows desktop

    Hi Antônio G,
    Based on your description, I’m afraid that it is not the correct forum for this issue, since this forum is to discuss:
    Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    To make this issue clearly, would you mind letting us know more information about this issue? Which language are you using? Which kind of app are you developing?
    Reference:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/a9e1857d-dd5b-443b-8633-397aea6e7b8c/help-on-properly-handling-wmf-mmanisotropic-image-in-rtf-file-when-extracted?forum=csharpgeneral
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/5b99d331-ef56-4d60-bf12-3e3b70783376/how-to-convert-a-hex-string-save-in-a-rtf-file-into-an-image-jpg-or-bmp?forum=csharpgeneral#a9219408-f73b-4e98-a9d8-7a1e0f20cdd9
    Maybe you could select the language development forum for this kind of issue. If not, please let me know more information about it, I will help you find a more appropriate forum.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for