Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

B

bitgangsta

@bitgangsta
Unfollow Follow
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • FOP2 Chrome Extension doesn't work with clickable callto:
    B bitgangsta
    Support

    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:

    $('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');
            });
    

    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!


  • FOP2 Chrome Extension doesn't work with clickable callto:
    B bitgangsta
    Support

    Hi,

    My particular CRM links to numbers automatically by inserting a link (normal <a> tag) to the target callto:phone#. For example:

    <a href="callto:555-555-1212">link</a>
    

    This would make sense to be clickable in Chrome, but instead it fails to recognize it as a number.

    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?

    Thanks,
    Daniel Jabbour
    @bitgangsta

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups