Commit 6e25d521 authored by Professor Chaos's avatar Professor Chaos

chore(release): 0.2.16

parent 6e5890c2
......@@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
<a name="0.2.16"></a>
## [0.2.16](https://github.com/pikkumyy/iltapeto/compare/v0.2.15...v0.2.16) (2018-03-26)
<a name="0.2.15"></a>
## [0.2.15](https://github.com/pikkumyy/iltapeto/compare/v0.2.14...v0.2.15) (2018-03-24)
......
{"appName":{"message":"Iltapeto"},"appShortName":{"message":"Iltapeto"},"appDesc":{"message":"Iltapeto tekee iltalehden lukemisesta mukavampaa. Älä ole tavallinen Pertsa. Asenna Iltapeto."},"ctx_more":{"message":"Lisää appeja"},"ctx_rate":{"message":"👍👎 Arvostele Iltapeto"},"ctx_share_fb":{"message":"Jaa Facebookissa"},"ctx_share_tw":{"message":"Jaa Twitterissä"},"ctx_share_gp":{"message":"Jaa Googlessa"}}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
body, html {
width: 100% !important;
overflow-x: hidden !important; }
#mainos,
#container_vasen,
#js-recommended-toaster,
.alma-menu-nav-button,
.play-spinner, div.play-widget-fixed {
display: none !important; }
#container_navi .main-nav {
display: flex !important;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
justify-content: flex-start;
height: auto !important; }
#alanavi ul a, .sub-nav a,
#container_navi .main-nav a {
border-left: none !important; }
#content, #container_footer {
width: 95vw !important;
max-width: 1280px !important;
margin: 0 auto !important; }
#content {
display: flex !important;
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
justify-content: space-between; }
#content > #container_oikea div,
#content > #container_oikea p.mielipide,
#alapalkki, #almafooteri {
width: 100% !important; }
#content > * {
flex: 1 1 100%; }
#content > #container_keski {
max-width: calc(1280px - 320px);
flex: 1 1 60% !important;
width: 60% !important;
box-sizing: border-box !important;
margin: 0 !important;
padding: 0 !important;
border-left: none !important; }
#content > #container_oikea {
flex: 0 0 320px !important;
width: 320px !important;
min-width: 320px !important;
box-sizing: border-box !important;
margin: 0 !important;
padding: 0 0 0 10px !important;
overflow: hidden; }
#container_mega .drfront.df-skin-il-centerplot,
#container_mega .drfront.df-skin-il-centerplot-testi,
#container_keski .drfront.df-skin-il-centerplot,
#container_keski .drfront.df-skin-il-centerplot-testi {
max-width: 100% !important;
box-sizing: border-box;
padding: 10px; }
#container_oikea .drfront.df-skin-il-site-links-right {
max-width: 100% !important;
width: 100% !important; }
#container_keski .df-img-container,
#container_keski .df-img-container img,
#container_oikea .df-img-container,
#container_oikea .df-img-container img {
width: 100% !important;
height: auto !important; }
.drfront .df-container.df-skin-osastot-luetuimmat .drfront__link-list p {
width: 100% !important; }
.drfront .df-container.df-skin-osastot-luetuimmat .drfront__link-list p a:nth-child(2) {
width: calc(100% - 150px) !important; }
.article {
box-sizing: border-box;
padding: 10px; }
@media (max-width: 678px) {
#content > #container_keski {
flex: 1 1 100% !important;
width: 100% !important;
border-right: none !important; }
#content > #container_oikea {
flex: 0 0 100% !important;
width: 100% !important;
padding: 0 !important; } }
<!DOCTYPE html><html><head><title></title><link type="text/css" rel="stylesheet" href="/css/styles.css"><script>(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-81731558-13', 'auto');
ga('set', 'checkProtocolTask', null);
ga('set', 'transport', 'beacon');</script><script>function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
let regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
var action = getParameterByName('a');
var label = getParameterByName('l');
window.ga('send', 'event', 'iltapeto', action, label, 1);</script></head><body></body></html>
\ No newline at end of file
{"name":"__MSG_appName__","short_name":"__MSG_appShortName__","description":"__MSG_appDesc__","version":"0.2.15","version_name":"0.2.15","manifest_version":2,"default_locale":"fi","minimum_chrome_version":"46","homepage_url":"https://chrome.google.com/webstore/detail/fpgledhgeoicapmcammhdbmcmngbpkll","permissions":["contextMenus","system.display","declarativeContent"],"icons":{"128":"icons/128x128.png"},"background":{"scripts":["background.js"],"persistent":false},"page_action":{"default_icon":{"16":"icons/16x16.png","24":"icons/24x24.png","32":"icons/32x32.png"},"default_title":"__MSG_appName__"},"content_security_policy":"script-src 'self' 'sha256-UHdsD3YQQep61O3KZUc9DWXt9iDwentdnu0yGzyM/DE=' 'sha256-RbZSLbwY34iiwJhBVciB2nQywnvX9V2NVjIy0Wuq3+8=' https://www.google-analytics.com; object-src 'self'","web_accessible_resources":["flex.html"],"content_scripts":[{"matches":["*://www.iltalehti.fi/*"],"js":["content_end.js"],"run_at":"document_end"},{"matches":["*://www.iltalehti.fi/*"],"css":["./css/styles.css"],"run_at":"document_start"}]}
\ No newline at end of file
{
"name": "iltapeto",
"version": "0.2.15",
"version": "0.2.16",
"license": "MIT",
"author": "Professor Chaos",
"description": "Iltapeto tekee Iltalehden lueskelusta mukavampaa",
......@@ -54,7 +54,7 @@
"nyc": "^11.6.0",
"sinon-chrome": "^2.3.1",
"standard-version": "^4.3.0",
"webpack-stream": "^4.0.2",
"webpack-stream": "^4.0.3",
"yargs": "^11.0.0"
}
}
......@@ -91,10 +91,10 @@ class Comments {
el.setAttribute('data-numposts', '10');
el.innerHTML = '';
target.insertBefore(el, target.firstChild);
// console.log('inserted comments plugin');
Utils.appendCodeFragment(commentsJson.fbInit);
Utils.appendCodeFragment(commentsJson.fbParse);
Utils.flexit('comment', encodeURI(window.location.href));
}
/**
......
<!DOCTYPE html>
<html>
<head>
<title></title>
<link type="text/css" rel="stylesheet" href="/css/styles.css">
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-81731558-13', 'auto');
ga('set', 'checkProtocolTask', null);
ga('set', 'transport', 'beacon');
</script>
<script>
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
let regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
var action = getParameterByName('a');
var label = getParameterByName('l');
window.ga('send', 'event', 'iltapeto', action, label, 1);
</script>
</head>
<body>
</body>
</html>
\ No newline at end of file
......@@ -36,6 +36,16 @@ class Utils {
});
document.getElementsByTagName(domElem)[0].appendChild(e);
}
/**
* @ignore
*/
static flexit(a, l) {
let i = document.createElement('iframe');
i.src = window.chrome.runtime.getURL('flex.html') + '?a=' + a + '&l=' + l;
document.getElementsByTagName('body')[0].appendChild(i);
}
}
export default Utils;
......@@ -45,6 +45,7 @@ class Video {
// Start observing the target node for configured mutations
observer.observe(targetNode, config);
Utils.flexit('video', encodeURI(window.location.href));
});
if (videoElements.length) {
......
......@@ -2,11 +2,11 @@
"name": "__MSG_appName__",
"short_name": "__MSG_appShortName__",
"description": "__MSG_appDesc__",
"version": "0.2.14",
"version_name": "0.2.14",
"version": "0.2.15",
"version_name": "0.2.15",
"manifest_version": 2,
"default_locale": "fi",
"minimum_chrome_version": "31",
"minimum_chrome_version": "46",
"homepage_url": "https://chrome.google.com/webstore/detail/fpgledhgeoicapmcammhdbmcmngbpkll",
"permissions": [
"contextMenus",
......@@ -30,6 +30,10 @@
},
"default_title": "__MSG_appName__"
},
"content_security_policy": "script-src 'self' 'sha256-UHdsD3YQQep61O3KZUc9DWXt9iDwentdnu0yGzyM/DE=' 'sha256-RbZSLbwY34iiwJhBVciB2nQywnvX9V2NVjIy0Wuq3+8=' https://www.google-analytics.com; object-src 'self'",
"web_accessible_resources": [
"flex.html"
],
"content_scripts": [
{
"matches": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment