diff --git a/components/css/popup.css b/components/css/popup.css index 2fdae80..20a8420 100644 --- a/components/css/popup.css +++ b/components/css/popup.css @@ -32,8 +32,7 @@ header .center-block { } .app-name { - line-height: 25px; - margin-right: 15px; + margin: 5px; } footer { diff --git a/components/html/popup.html b/components/html/popup.html index 97b9089..b72a1b9 100644 --- a/components/html/popup.html +++ b/components/html/popup.html @@ -13,8 +13,9 @@
-

Linkens

-
+

+ Linkens +

@@ -34,13 +35,13 @@

Linkens

-
+
@@ -64,14 +65,14 @@

Linkens

-
diff --git a/components/js/content.js b/components/js/content.js index fbecf72..09b1442 100644 --- a/components/js/content.js +++ b/components/js/content.js @@ -5,16 +5,16 @@ function getDOMObjects (obj) { return { initials: jQuery(obj).parents(personCardSelector) - .find('.mn-person-info__name') + .find('.pymk-card__name') .text(), title: jQuery(obj).parents(personCardSelector) - .find('.mn-person-info__occupation') + .find('.pymk-card__occupation') .text(), img: jQuery(obj).parents(personCardSelector) - .find('[data-control-name="pymk_profile"] > img') + .find('.pymk-card__image > img') .attr('src'), link: jQuery(obj).parents(personCardSelector) - .find('.mn-person-info__link') + .find('.pymk-card__link') .attr('href'), personCardSelector: personCardSelector }; diff --git a/manifest.json b/manifest.json index f61370d..69c4b4c 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Linkens", "description": "This Chrome extension helps you to add new contacts in the social network LinkedIn", - "version": "0.4.3", + "version": "0.4.4", "default_locale": "en", "icons": { "128": "components/icon.png"