<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FOP2 Chrome Extension doesn't work with clickable callto:]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">My particular CRM links to numbers automatically by inserting a link (normal &lt;a&gt; tag) to the target callto:phone#. For example:</p>
<pre><code>&lt;a href="callto:555-555-1212"&gt;link&lt;/a&gt;
</code></pre>
<p dir="auto">This would make sense to be clickable in Chrome, but instead it fails to recognize it as a number.</p>
<p dir="auto">What would it take to register the click-handler with the extension? It wouldn't happen to be open-source somewhere so I can fix it, would it?</p>
<p dir="auto">Thanks,<br />
Daniel Jabbour<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/bitgangsta" aria-label="Profile: bitgangsta">@<bdi>bitgangsta</bdi></a></p>
]]></description><link>https://forum.fop2.com/topic/1458/fop2-chrome-extension-doesn-t-work-with-clickable-callto</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 18:26:21 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/1458.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 May 2013 09:13:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOP2 Chrome Extension doesn't work with clickable callto: on Mon, 20 May 2013 23:46:58 GMT]]></title><description><![CDATA[<p dir="auto">I was able to achieve this! I modified the extension to do so. In the file content_script.js I added the following code to execute right before the page is parsed:</p>
<pre><code>$('a[href*="callto"]').each( function() {
            var link = $(this), newUrl = link.attr('href').replace(/^callto:/,'sip:'), phoneNumber = newUrl.replace(/sip:/, '');
            link.attr('href', newUrl);
            link.attr('rel', phoneNumber);
            link.addClass('fop2-click-to-call');
        });
</code></pre>
<p dir="auto">It would be great if you can add this to the extension so I don't have to modify it every time I update. But if not, it's fine too!</p>
]]></description><link>https://forum.fop2.com/post/6378</link><guid isPermaLink="true">https://forum.fop2.com/post/6378</guid><dc:creator><![CDATA[bitgangsta]]></dc:creator><pubDate>Mon, 20 May 2013 23:46:58 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 Chrome Extension doesn't work with clickable callto: on Thu, 09 May 2013 08:38:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The chrome extension will alter static text/content, not tag/anchor or html tags at all. If your crm includes the number in that "link" part it should work.</p>
<p dir="auto">I can see if callto links can be modified too...</p>
<p dir="auto">Best regards,</p>
]]></description><link>https://forum.fop2.com/post/6377</link><guid isPermaLink="true">https://forum.fop2.com/post/6377</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 09 May 2013 08:38:08 GMT</pubDate></item></channel></rss>