url-protocol

How to trigger a phone call when clicking a link in a web page on mobile phone

懵懂的女人 提交于 2019-12-17 05:21:49
问题 I need to build a web page for mobile devices. There's only one thing I still haven't figured out: how can I trigger a phone call through the click of text? Is there a special URL I could enter like the mailto: tag for emails? Device specific solution are not preferred. I know iPhone automatically recognizes phone numbers and creates a link for this, but it would be great if this could be done for images too... and also for most mobile devices. 回答1: Most modern devices support the tel: scheme

How to disable Skype and Lync telephony providers for Dynamics CRM completely

无人久伴 提交于 2019-12-12 05:57:08
问题 How can we disable the Skype and Lync providers completely from Dynamics CRM 2015 Online in either supported or unsupported way? What I have tried so far: - Created my own link on phone number fields - Tried to locate any jQuery event handlers attached to the element in the DOM - Assigned the blank event handler to Mscrm.ReadFormUtilities.handlePhoneNumberClick (Ref: http://crmtipoftheday.com/2014/05/15/how-to-block-click-to-call-in-crm/) Still when I click on the phone number the Dynamics

How do browsers determine whether an URL in an href is relative or not when using a scheme?

南楼画角 提交于 2019-12-06 04:32:34
问题 Suppose I have the following link tag: <a href="tel:+15555555">Phone number</a> . How exactly does the browser know not to load the relative location ./tel:+15555555 from the current server and instead know that tel is supposed to be interpreted as a scheme? Detecting host-relative URLs ( /… ) or protocol-relative URLs ( //… ) seems to be trivial. I guess HTTP-URLs ( http://… or https://… ) would be simple to special-case as well. But how does the browser go about parsing an URL with an

How do browsers determine whether an URL in an href is relative or not when using a scheme?

烂漫一生 提交于 2019-12-04 09:57:51
Suppose I have the following link tag: <a href="tel:+15555555">Phone number</a> . How exactly does the browser know not to load the relative location ./tel:+15555555 from the current server and instead know that tel is supposed to be interpreted as a scheme? Detecting host-relative URLs ( /… ) or protocol-relative URLs ( //… ) seems to be trivial. I guess HTTP-URLs ( http://… or https://… ) would be simple to special-case as well. But how does the browser go about parsing an URL with an arbitrary scheme? I know a valid scheme has to start with a lowercase letter and may only contain lowercase

How to start two or more custom URL Protocol from Javascript

倾然丶 夕夏残阳落幕 提交于 2019-11-30 02:40:12
问题 I have an old html page that creates a script file and executes it using: fsoObject = new ActiveXObject("Scripting.FileSystemObject") wshObject = new ActiveXObject("WScript.Shell") I am trying to modify it and make it usable also from other browsers. If you know the answer stop reading and please answer. If there is no quick answer, here is the description of my attempts. I was successful in doing the job, but only when the script is shorter than 2000 characters. I need help for scripts

Is there any downside for using a leading double slash to inherit the protocol in a URL? i.e. src=“//domain.com”

天大地大妈咪最大 提交于 2019-11-26 22:14:15
问题 I have a stylesheet that loads images from an external domain and I need it to load from https:// from secure order pages and http:// from other pages, based on the current URL. I found that starting the URL with a double slash inherits the current protocol. Do all browsers support this technique? html ex: <img src="//cdn.domain.com/logo.png" /> css ex: .class { background: url(//cdn.domain.com/logo.png); } 回答1: If the browser supports RFC 1808 Section 4, RFC 2396 Section 5.2, or RFC 3986

Is there any downside for using a leading double slash to inherit the protocol in a URL? i.e. src=“//domain.com”

断了今生、忘了曾经 提交于 2019-11-26 12:02:53
I have a stylesheet that loads images from an external domain and I need it to load from https:// from secure order pages and http:// from other pages, based on the current URL. I found that starting the URL with a double slash inherits the current protocol. Do all browsers support this technique? html ex: <img src="//cdn.domain.com/logo.png" /> css ex: .class { background: url(//cdn.domain.com/logo.png); } Remy Lebeau If the browser supports RFC 1808 Section 4 , RFC 2396 Section 5.2 , or RFC 3986 Section 5.2 , then it will indeed use the page URL's scheme for references that begin with "//".