Questions tagged [external-links]

100 questions
71
votes
7 answers

How do I add target="_blank" to a link within a specified div?

Let's say I have the following code:
26
votes
5 answers

PhoneGap for iPhone: problem loading external URL

I'm writing an application for iPad using PhoneGap and I would like to load an external URL without triggering Safari or using internal web browser like ChildBrowser. I'm using the PhoneGap iPad/iPhone sample project and I tried different…
Claus
  • 5,662
  • 10
  • 77
  • 118
18
votes
6 answers

How to know if browser tab is already open using Javascript?

How to know or check if the two browser tab is already open and if those tab are open, the user will receive an alert box or msg box saying that 'the url is already open', something like that, in pure/native JavaScript? This browser tab is contain…
User014019
  • 1,215
  • 8
  • 34
  • 66
13
votes
3 answers

External links URL encoding leads to '%3F' and '%3D' on Nginx server

I got a problem with my server. I got four inbound links to different sites of my dynamic webpage which look something like this: myurl.com/default/Site%3Fid%3D13 They should look like this: myurl.com/default/Site?id=13 I do know that those %3F…
user3082653
  • 71
  • 1
  • 1
  • 10
9
votes
1 answer

Excel: Can using external links improve performance?

I'm wondering if there is a performance gain when using external links vs. opening a spreadsheet and copying cells (using VBA). I would imagine that Excel has to open the file just the same, but when I test using the following code, external linking…
Dave Thornton
  • 581
  • 3
  • 7
7
votes
3 answers

phonegap: open external page and then go back to app

ok, browsing the questions I've found the right way to load an external page into the phonegap view (i.e. without loosing the session or opening the device browser) as explained here: How can I load a webpage inside the phonegap webview? and here:…
Marco Gagliardi
  • 565
  • 1
  • 8
  • 24
4
votes
0 answers

Why do I need to link externally to C as long as C++ compilers support C code?

I am reading C++ primer and I'm on chapter 19. External linkage. So for example if I want to link to a C function from C++ then I declare that function as external "C" void foo(); then when I compile my C++ program I issue something like: gcc -c…
Itachi Uchiwa
  • 3,044
  • 12
  • 26
4
votes
3 answers

Preventing certain URLs from receiving external link styles

I have styled any external links on my site to automatically add an icon after the link to any domain off my site using: a[href^="http://"]:not([href*="website.com"]):after { font-family: "FontAwesome"; content: "\f08e"; font-size: 10px; …
user5551675
4
votes
1 answer

How to open "external link" by clicking a menu item?

I need to open some link (in my default browser) in a way similar to setOpenExternalLink on Qlabel, but by clicking on an item in the menu. Is there some simple way? I think about using Qlabel with required link and use some action/event to pretend…
ThinkDeep
  • 519
  • 1
  • 4
  • 19
3
votes
1 answer

TWA and external links

I would like to ask if there is any way to make TWA(Trusted Web Authority) app to open external links, those with different host than defined in AndroidManifest.xml, in new browser window instead of apps webview? My AndroidManiest.xml look like…
Igor Mizak
  • 1,088
  • 1
  • 11
  • 19
3
votes
1 answer

How do use external_links to connect docker-compose to common service?

I currently am using a docker-compose to setup a series of microservices which I want to link to a common error logging service (created outside the compose). I am creating the errorHandling service outside of the compose. docker run -d --name…
Tkwon123
  • 3,672
  • 2
  • 13
  • 13
3
votes
2 answers

Xcode Open target=_blank links in Safari

I'm pretty new to Xcode... I have a single page iOS app that just has a UIWebView opening a specific URL. I would like any links within the pages that have target="_blank" to open in Safari, rather than inside the app. Can someone tell me how to…
adamdehaven
  • 5,890
  • 10
  • 61
  • 84
2
votes
1 answer

Drupal: custom external links in user profile

I have Drupal 7 and want to get custom links to several social networks and other pages in the user profiles. How this should work: User opens his account settings and sees, for example: Net 1 Nick, Net 2 Nick and other fields. He inputs and saves…
nosocr
  • 21
  • 1
2
votes
1 answer

Why the C++ linker doesn't complain about missing definitions of theses functions?

I have written this code: // print.h #pragma once #ifdef __cplusplus #include void print(double); void print(std::string const&); extern "C" #endif void print(); And the source file: // print.cxx #include "print.h" #include…
Itachi Uchiwa
  • 3,044
  • 12
  • 26
2
votes
4 answers

Detect and change external links in PHP?

I have a free PHP webserver and I would like to provide a redirect to external links page, just like deviantart.com does. Is there any way to do this with just PHP? I have no access to the server. Edit: I meant a page asking "Are you sure you want…
Vercas
  • 8,931
  • 15
  • 66
  • 106
1
2 3 4 5 6 7