document.referrer returns the path of the page

I have a page that is loaded through apps.facebook.com

There are two ways that this page is accessible from:
apps.facebook.com/ProductionPage
apps.facebook.com/DevelopmentPage
(Not the URL, just used for example)

I used document.referrer to determine if the page has been loaded through the path of development and if so load of debug code. Now firefox has been updated document.referrer returns the domain without the path. Is there way or workarounds to get the path of the document.referrer?

Thank you
Armand Choy

The solution most obvious workaround seems to be to add a parameter to the URL that you use to embed in the page, assuming that FB that allows.

Tags: Firefox

Similar Questions

  • I can scan a text document directly in the Pages?

    I can scan a text document directly in the Pages?

    The Pages ' 09, or Pages v5.6.1 allowed scanner captures in a Pages document. You need to use a snippet and use the file menu: import from a Scanner. Then you can copy/paste this PDF pages result as an object. If your scanner is equipped with optical character recognition software, it can convert the text in PDF, Word or text document.

  • to access the page elements in the document, but outside the page boundaries

    I am also new to indesign in indesign scripting so bear with me and my lack of termonology. I have page elements that are located in the white space in the document, but outside the page limits. I have access to all page elements that are still partially on the page using the myPage.pageItems. However this collection does not include page elements that are not touch to this page. So is there anyway to access page items in the space outside the page?

    So where are OK, you stuck?

    If you have a variable, say, page, it is a particular page, where page.pageItems is all the elements on this page, then page.parent.pageItems will be all the items on the spread, which includes the editing table that surround it.

    Good?

  • Reading number of XML nodes in a document & amp; return the result in the text member

    Hi all

    I wonder if you can help me with the following:

    I want to read the number of nodes in an XML document and return the result in a text cast member. That's what I do so far, but he refuses to work

    Yes, my mistake. That should have been:
    --
    tList =
    nNodes = count(tList[1])
    sText = «»
    Repeat with i = 2 to nNodes
    tText = tList [1] .getPropAt (i)
    sText = sText & tText & RETURN
    end repeat
    -Remove rear BACK tank
    remove the last tank of sText
    -Place ALL the text in a text member
    Member ("test1"). Text = sText
    -- ...

  • I can change the color of the document title in the pages on my iPhone 5s

    In the pages on my iPhone document titles are in orange on white background - very difficult to read for someone with glasses whose eyesight is not as good as a young man!  Can anyone help?

    I've never seen a way to change this. The text of the document itself can be adjusted for different colors.

  • Resize the size of the Document instead of the Page Size

    Hello

    I was wondering if there was anyway to resize the document? Or change the document format? For the moment, I made the pages with myPage.resize (...); but I can not find the method resize for Documents, and I can't find another way. What can I do?

    doc.documentPreferences.pageHeight and doc.documentPreferences.pageWidth

    http://jongware.mit.edu/idcs5js/pc_DocumentPreference.html (for CS5).

    Jeff

  • skillbuilders modal page: how to submit the page parent after closing modal window

    Hello.

    I use Apex 4.2.1 on mod_plsql and Oracle 11 g 3.

    I installed version 2.0 of plugin Skillbuilders Page modal.

    In may, app, page 7 presents a button.  When you click on it, page 6 is displayed as a modal popup.  Users can change this modal page form fields and then click on a "submit" button.  This, in turn, automatically closes the modal page.  Users seek then to page 'parent' (page 7).  It all works very well.

    My problem: Page 6 (modal page) contains a collection of Apex.  This collection is updated when users click the submit button.  It is this collection to be displayed with the data updated on the page "parent" (page 7).  And so, I need to automatically send page 7 when the modal page closes automatically after clicking submit on the modal page.

    I tried a dynamic action that performs an action of "submit page" whenever the user clicks on the button send in the modal page.  But because the plugin uses an iframe to display the modal page, the action of page submit real that happens in the iframe, not in the 'parent' page (page 7).  When the modal page closes automatically, users are left looking at the page of 'parent' (page 7) with the previous data (not updated).  I have to manually refresh the page (via the browser) to see the data updates to the collection.

    And then, does anyone know how to automatically return the page of 'parent' when the modal window closes automatically?

    Thank you.

    Elijah


    Your dynamic action automatic closing has not been set correctly. The action is not triggered on a specific item, but rather on the 'document '. Your selection should be 'Élément DOM' and the element must be "document".

    (Note that if you use several modal pages on one page, this action triggers for each of them. You can use the 'modal page id' in the creation of the page modal DAs must be able to stand out in outreach. You can find this in the documentation, too.)

  • Why the page in Firefox does not display the page in the server of the provider?

    I'm a Web Designer. I have the file manager my computer Linux Krusader, which allows me to copy files to my host server. Normally, when I do that and renewed page on Firefox, the page indicating with precision in Firefox reflects the change that I copied on my host server. Lately, apart from clear the memory cache, exit Firefox and return, the page on Firefox continues to be the old page without change.

    I found that the problem lies in my host server. Thank you for your support.

  • Why the Pages go through each file before opening one I clicked on that?

    When I click on a file I want in the Pages, the program passes through each file that I created before he gets to the one I want.  Is it possible to go directly to the file you want?

    Open the Pages with the SHIFT key is pressed, so it is not reopen previously open documents or close all your open documents before leaving the Pages.

    Peter

  • can not scan large dockument in a file and have the pages come out in order

    Hello and ty 4 your time - victory runing 7-64 printer is hp officejet pro 8600 (network) PDF prog. OmniPage is ultimate. my project is to digitize a 191 total page (duplex) 391.  I select Save as pdf, leter size, black and white, 200 dpi (according to support hp - would rather than 300), document type, type of file-pdf, check preview scanning, select ADF, check scan them both sides, and here for the better part of 2 hours.

    program says to keep you charging between 25-35 @ a time and when pages per document revolving around the pages and not flip and scan to hide through.  He loved two times (not a quick learner)

    When save, close and open pda here even not close to being in the order.

    now help can't get his head around that, when some chimneys of pages feeding through the adf a cmdlet opens with a simple statement to basickly Highway, but most of the time it isn't.  you need 2 click on the small image of the page and that starts the adf to run.  until full, click done, save.

    I think the problem is in this applet appearing at random times giving simple instructions and a box click OK to start the adf and it does not appear and have 2 use the pictuture small page @ lower left.

    This is all from memory after a long and frustrating day with the machine and support.  hope I explained it correctly.  everything, everything, any help would be greatly appreciated.

    the reasion 4 that this nightmare is that he he will cross OCR for search keyword.    Thanks for reading.    Gary

    The 8600 is simply not designed to handle a 382 (191 x 2) pages the analytical work. Analytical work double face (where you scan the odd numbered pages first, keep in mind, browse, then scan the even pages), looks like a copy collated job. The specification says exemplary, on the basis of 8600 model, you can do 8 pages. This is a limitation of the size of the memory. Scan at low resolution, give you more pages, which is why the interruption every 25-35 pages. It would be much easier just scan 20 pages at a time and combine PDFs on the computer (what is it good for). Or download the template more has more memory for larger jobs, or that true double-sided scans (no need to browse around).

  • Change the Document displayed in the viewer of taskflow documents programmatically

    I was wondering if anyone has an example of java to alter a document read in the document viewer task flow mainly by changing the resource ID parameter to refer to a different EL programmatically. The use case is:

    1. research of user data using a form of AF query parameter bound to an AF:Table
    2 each row of the table contains an ID to a UCM of the document content that matches other data displayed in the line
    3. when a row is selected in the table I want to be able to edit the document that is displayed in the workflow Document Viewer to that related to the content of the currently selected row id.

    I am able to get a handle to the view Document Taskflow on the page of the layer of links to help

    BindingContext bindingContext = BindingContext.getCurrent ();
    DCBindingContainer dcbind = (DCBindingContainer) bindingContext.getCurrentBindingsEntry ();
    DCBindingContainer docviewer = (DCBindingContainer) dcbind.findExecutableBinding ("doclibdocumentviewer1");

    However most of the methods that look, they would have a potential to create a new EL in the ID parameter resource like setParameterExpression (< String >, < String >) are all listed "reserved for the internal frame.

    In the pageDef, you would see the Refresh property - try setting it.

    Sample:


    taskFlowId="/WEB-INF/EmployeesTF.xml#EmployeesTF".
    Activation = "deferred."
    R = "ifNeeded.
    xmlns = "http://xmlns.oracle.com/adf/controller/binding" / >

    For more information on the use case, please take a look at
    http://docs.Oracle.com/CD/E21764_01/Web.1111/b31974/taskflows_regions.htm#CHDEIFBB

    Thank you
    Nini

  • How can I hide the page thumbnails navigation bar initially to the top of Adobe Reader and open a pdf file?

    How can I hide the page thumbnails navigation bar initially to the top of Adobe Reader and open a pdf file? I couldn't find this option on the Preferences tab? Thank you

    Under Edit - Prefs. - Documents check the box that says "Restore last display settings when reopening documents." Hide the Pages panel manually, and the next time that you open the file it should have disappeared.

  • Reset enter actions on the page?

    All, morning

    Creation of a small catchment, delivery non - LMS, where there are interactive elements on a page (click HERE, image shows hidden, then click HERE kind of thing)

    Imagine page 1 is my introduction, page 2 has the activity, page 3 continuous, etc..

    I have my activities works very well, but if my user goes to page 1, 2, 3, then returns to page 2, the activities (and hidden elements) is already completed and visible.

    I need something that returns the page 2 it is 'clicked' State of origin at the entrance to the page.

    Using Cap 6.0, some experience with stock advances, but this one left me speechless.

    Thanks in advance

    Each slide is an event on enter, an event on the output. Both can trigger a tip action, just like the event of success for an interactive object:

    http://blog.lilybiri.com/events-and-advanced-actions

    Lilybiri

  • How to use the carousel for the page navigation in the Page of Index

    Hello
    I want that the componet carousel for the Index Page.Each carouselItem should have a click Image.When on the image that he must break into a new appropriate pages.

    Kind regards
    Tom

    Hello
    Follow this procedure,

    1.Premier, create a view object with imageURL and pageName as its attributes,
    2. drag and drop the object from view of the DataControl in Jspx page
    3 inside of the carouselItem, drag and drop the af: commadImageLink
    4. inside of the commandImageLink do drag a setActionListener and bind the item.pageAction with a property in the managed bean,
    5. in the commandImageLink property inspector.
    In icons, give #{item.imageURL} and Action link it to a method in the managed bean that method must return the page action that is taken by the setActionListener

    Now run the Application

    Kind regards
    Felix

  • [JS] [CS3] Get the Page number

    Hello.

    I need to find the number of the page containing a frame.

    Normally, I would use "myFrame.parent.name" to find the page number. However, I can't use this method on a line chart.  What I'm getting back is the story, which has no page number.  I've used in various ways, such as:

    myFrame.parent.insertionPoints [0] .parent

    but nothing returns the page number.  I looked at all the properties of the frame and impossible to find a property, I can handle to extract the page number.
    Is this possible? Should I give up now?
    See you soon
    Roy

    Use the code below,

    myFrame.parent.insertionPoints [0]. parentTextFrames [0]. parent.name

    Kind regards

    Imagine.

Maybe you are looking for