Commit Graph

245 Commits

Author SHA1 Message Date
Cédric 8d048bea87
Déplacer la correction de mainTop
Permet d'éviter un mainTop négatif.
2019-09-05 12:21:07 +02:00
Amauri CHAMPEAUX 4ef09977ee
Merge pull request #343 from prudloff-insite/anchor
Don't scroll to top of page when closing popin
2019-08-28 09:40:21 +02:00
Amauri CHAMPEAUX 79d71466d5
Merge pull request #344 from JasonBenett/lifecycle-events
Dispatch JS events at crucial display steps
2019-08-28 09:39:59 +02:00
Jason Benedetti c6e19d73b5
Increase the ask area capability to be extended
- Encapsulate the main ask area buttons into a current state class (same comportment that the existing one on each service line).
- Add simpler methods to add/remove classes on user interface on the same way that the existing "css" method.
2019-08-23 10:44:05 +02:00
Jason Benedetti b595ca0ce5
Add higher encapsulation level to enhance design abilities
FR : Ajout de plusieurs <div> et <span> non stylisées pour faciliter le travail d'intégration et de design simplement via du CSS, notamment sur l'apparence de boutons par rapport aux textes.

EN : Add some <div> and <span> "unstylished" to enhance the integration and design work via simple CSS rules, especially about the buttons appearance compared to the texts.
2019-08-22 14:58:35 +02:00
Jason Benedetti affafafe37
Dispatch JS events at crucial display steps
FR : Ajout d'évènements JS à différents moments du cycle de vie de tarteaucitron. Permet d'ajouter de la logique métier personnalisée à différentes étapes.

EN : Add JS events to many moments of tarteaucitron life cycle. Allow to add personalized business logic to different steps.
2019-08-22 14:49:16 +02:00
Pierre Rudloff 1b5aea63dc Don't scroll to top of page when closing popin 2019-08-19 15:03:26 +02:00
Amauri CHAMPEAUX 3996698dc9
Merge pull request #266 from Adysone/master
Remove the hardcoded colors from the JS
2019-06-13 09:05:07 +02:00
Amauri CHAMPEAUX 07dbc549b4
Merge pull request #320 from AnTSaSk/master
Enhance custom "Expire" value / Amélioration de la valeur personnalisée "Expire"
2019-06-13 08:59:04 +02:00
Yannik 42cee81cea
FIX - ForceLanguage when !navigator 2019-05-17 13:12:52 +02:00
Alexis Besson 9f3873303d Feature: Modify verification of tarteaucitronExpireInDay type's value 2019-04-08 11:46:11 +02:00
Alexis Besson fb2b675889 Feature: Add possibility for user to specify a hour(s)/day(s) value as a custom expire value 2019-04-08 11:36:12 +02:00
Carsten Meyer 4020cdb12d
HTML semantics
- type="button" on all buttons
- rel="noreferrer noopener" on all links
2019-03-18 16:54:58 +01:00
Cenatiempo Yannick 8d53cfdb17
Prevent error for navigator without language 2019-02-28 18:28:48 +01:00
Emilie Pistorius 01ffbac2a0 fix aria-level values 2019-02-14 09:34:08 +01:00
Amauri CHAMPEAUX be56f21919
Changes in how stats are calculated on the pro version 2019-01-24 10:45:51 +01:00
Amauri CHAMPEAUX f4347f8536
Changes in how stats are calculated on the pro version 2019-01-19 13:48:42 +01:00
Amauri CHAMPEAUX dac62f1a22
Merge branch 'master' into feat/hide-read-more 2018-12-26 13:34:03 +01:00
Amauri CHAMPEAUX 699be0de5c
Fix a bug with Prototype Enumerable 2018-12-04 16:59:25 +01:00
Amauri CHAMPEAUX 10b8db89bb
Fix a bug with Prototype Enumerable 2018-12-04 15:52:18 +01:00
Anthony Demurtas 7c94cf65cc Remove the hardcoded colors from the JS
The hardcoded colors green and red have been removed from the JS file.
The colors are now in the CSS file.
A new class tarteaucitronIsSelected is added to the main selected button ("Allow all" or "Deny all").
2018-11-20 17:40:46 +01:00
Nicolas Cabot 8d435953ba merged duplicated rel attributes on credit link element 2018-11-14 18:33:17 +01:00
CIMEOS 32bba9e880
SEO Compatibility
Substitution of Hn for span with aria-heading
2018-10-24 16:32:11 +02:00
Amauri CHAMPEAUX 05f98f423c
Merge pull request #230 from e-adrien/seo
Remove h* use for SEO
2018-10-24 14:23:34 +02:00
Amauri CHAMPEAUX 49dbaa32ff
Add Greek translation 2018-10-23 15:39:55 +02:00
Jérôme Fix 758b8fc7f2 Ability to use an external CSS
- Added option to initialization: useExternalCSS
2018-10-20 07:27:55 +02:00
Adrien ERAUD 4fe43eb84e
Remove h* use for SEO 2018-10-09 14:16:05 +02:00
Amauri CHAMPEAUX e20c3a90bb
Fix #235
You can now change engage string with the same method as other texts:

```
<script>
var tarteaucitronCustomText = {
    "engage-twitter": "Follow us on Twitter!",
};
</script>
```
2018-10-03 08:25:01 +02:00
Amauri CHAMPEAUX c31b2a1bb3
Fix #207 - Remove ContentWrapper 2018-10-03 07:45:16 +02:00
Amauri CHAMPEAUX 8ff060c449
Merge pull request #218 from OwnWeb/feature/googlemaps-embed
 Add Google Maps Iframe embed service
2018-09-25 14:28:46 +02:00
Romain GABORIEAU 8b1696cf20 feat: add event functions to init and load 2018-09-14 14:14:07 +02:00
Hugo Heneault 1b5f0cad47 Add Google Maps Iframe embed service 2018-09-14 12:07:33 +02:00
Amauri CHAMPEAUX 096065c0bb
Fix colors of button #213 2018-09-14 09:30:29 +02:00
Amauri CHAMPEAUX 7bccde22c6
Revert #208 Do not work on IE11 2018-09-11 13:58:17 +02:00
Amauri CHAMPEAUX 29778541ee
Merge branch 'master' into master 2018-09-11 10:52:56 +02:00
Amauri CHAMPEAUX 63f0ba6866
Restore effect on general allow/deny buttons 2018-09-11 10:52:18 +02:00
Amauri CHAMPEAUX e156538555
Better scroll management 2018-09-11 10:40:49 +02:00
Yohann bianchi 842cec6dc8 🐛 Fix an incompatibility with prototype.js < 1.7.3.0 2018-09-11 10:38:01 +02:00
Amauri CHAMPEAUX 43cf19b939
Always show the main information text 2018-09-10 08:00:26 +02:00
Amauri CHAMPEAUX 4eb6f8c14f
Add a class to customize the line depending of the status 2018-09-03 14:40:08 +02:00
Amauri CHAMPEAUX 51433bf1ff
Do not use default value 2018-09-03 11:10:06 +02:00
Amauri CHAMPEAUX a31264e13d Add an option to display a link to the privacy url
"privacyUrl":  "https://example.com/privacy-policy",
2018-08-29 11:12:57 +02:00
Amauri CHAMPEAUX af76f8415a
Removed break line after service name 2018-08-29 10:05:11 +02:00
Amauri CHAMPEAUX 7cf9cd5659
Time to reload files 2018-08-28 11:18:53 +02:00
Amauri CHAMPEAUX 72bd720177
Merge branch 'master' into display-cta-accept-all-with-highPrivacy 2018-08-28 10:51:17 +02:00
Amauri CHAMPEAUX 6d6f7a77db
Add an option to hide the links to opt-out.ferank.eu and third party website 2018-08-28 10:43:35 +02:00
Amauri CHAMPEAUX 618eea713f
Fix the default value for the parameters 2018-08-28 10:33:19 +02:00
Lena f64fecd67b better comments + add translations 2018-08-14 15:55:49 +02:00
Lena 412206eea5 add focusTrap method 2018-08-14 15:45:48 +02:00
Lena 49c6cc77cd add a wrapper with aria-hidden when dialog is open + update CSS 2018-08-14 13:42:49 +02:00
Lena b79fbec9f7 Accessibility fixes 2018-08-14 10:36:33 +02:00
javiertury d8c9031d54
Fix #197: tarteaucitronForceCDN always defined
Make sure that `tarteaucitronForceCDN` is always defined. If underfined convert to empty string. When defining `cdn`, use default cdn if `tarteaucitronForceCDN` is an empty string.
2018-08-13 21:06:38 +02:00
javiertury f86f6d0b0f
Allow to force CDN 2018-08-13 13:29:50 +02:00
r-baudot b43cbce36b
Merge branch 'master' into display-cta-accept-all-with-highPrivacy 2018-08-06 13:27:24 +02:00
Amauri CHAMPEAUX cb0e23b72e
Merge pull request #185 from ygriguer-bhs/changeable-cookie-name
Give the possibility to change cookie's name
2018-08-06 07:31:05 +02:00
Yoram Griguer 933ea94c31 Give the possibility to change cookie's name 2018-07-31 17:56:45 +02:00
Ricci Dorian b4c14b9ec9 corrected call to the method 2018-07-31 09:44:18 +02:00
Ricci Dorian 1ea7bfa82a move utility function in tarteaucitron 2018-07-30 19:47:12 +02:00
Ricci Dorian a59ee49abb corrected if undefined variable 2018-07-27 19:33:31 +02:00
Ricci Dorian 1d97b3fa95 Update tarteaucitron.lang with the custom text given 2018-07-27 10:55:50 +02:00
Ricci Dorian b1cae8da4f added utility function to AddOrUpdate a field on object 2018-07-27 10:55:14 +02:00
Romain Baudot 1a4967acae Add a feature to display the 'Accept All' CTA when 'hightPrivacy : true' 2018-07-06 11:29:24 +02:00
Amauri CHAMPEAUX c449b76380
Merge pull request #129 from d4rk694/master
Added iframe google maps with search query + customization cookie expire
2018-06-19 09:35:22 +02:00
Amauri CHAMPEAUX ec634a2037
Wrong var definition 2018-06-15 16:15:34 +02:00
Amauri CHAMPEAUX 77c5274032
Merge pull request #144 from eldk/isDNTRequested
add DNT DoNotTrack Support
2018-06-15 16:00:28 +02:00
Amauri CHAMPEAUX b5d0680ccf
Merge pull request #142 from eldk/alertSmallToTop
Allow tarteaucitronAlertSmall to be at top when orientation is set to top.
2018-06-15 15:55:21 +02:00
Ozee31 43438682c7 fix Uncaught TypeError: Cannot set property 'push' of undefined if tarteaucitron.job is undefined 2018-06-15 15:31:42 +02:00
encreinformatique 09f2b1d5e1 Merge remote-tracking branch 'refs/remotes/AmauriC/master' into translation/nl 2018-06-14 11:49:36 +02:00
eldk d20fe6798a add option to enable DoNotTrackSupport support :
default : false
to enable add :
"handleBrowserDNTRequest": true /* Répondre au DoNotTrack du navigateur*/
to on page tarteaucitron.init script.
2018-06-12 16:09:46 +02:00
eldk 87d590e476 add DNT DoNotTrack Support :
When browser make request with DNT header set to yes or 1, set all services to false
and service.fallback if needed. tarteaucitronAlertBig is not displayed/needed
but tarteaucitronAlertSmall is.
2018-06-12 01:52:58 +02:00
eldk b35fb33014 allow tarteaucitronAlertSmall to be at top when orientation is set to top.
On mobile, when Adsense Auto Ads is in use, and orientation to bottom, the small alert should be behind ads.
This allow alert to be at top and unhide it.
2018-06-11 14:02:02 +02:00
Ricci Dorian cf3a58fa86 added customisation of time cookie expire 2018-06-03 13:10:37 +02:00
Thomas Combe d2a9417d66 Allow to change readme link (for custom service) 2018-05-28 11:55:04 +02:00
Thomas Combe e1fbad4a33 Merge branch 'master' of https://github.com/thomascombe/tarteaucitron.js into feat/hide-read-more 2018-05-28 11:44:02 +02:00
Thomas Combe b634ce33bc allow to hide readmore button with param : readmore:false 2018-05-24 11:09:03 +02:00
Thomas Combe a5f0900963 Allow user to select tarteaucitron cookie domain (for multi-site) 2018-05-24 09:47:44 +02:00
Encre Informatique 263fa2fd46 Fixed #93 : dutch translation
The Dutch translation has been added according to the issue.
Beware I cannot check the translation itself.
The nl locale has been added to the main script.
2018-05-22 12:26:07 -03:00
Amauri CHAMPEAUX 30846e0baa
Merge pull request #63 from coliff/patch-1
Use rel="noopener" on target="_blank" links
2018-04-19 14:41:50 +02:00
Amauri CHAMPEAUX b00fc334bb
Add other type 2018-04-16 17:41:01 +02:00
Christian Oliff 23866b6281
Update tarteaucitron.js 2018-04-13 22:05:23 +09:00
Amauri CHAMPEAUX 94319d0646
Open the cookie manager with a class name on a link
Bonne idée 👍 https://github.com/AmauriC/tarteaucitron.js/issues/59

Pour faciliter les choses, c'est possible en ajoutant une class à un lien :
`<a href="https://www.monsite.fr/mapage_cookie/" class="tarteaucitronOpenPanel">Cookies</a>`
2018-04-13 09:08:24 +02:00
Marek Lukáš be1a1c6122 Added czech translation 2018-04-03 14:00:19 +02:00
Amauri CHAMPEAUX 5217dbe9c2 Consent on scroll 2015-08-31 14:12:15 +02:00
Amauri CHAMPEAUX c60dbb1e47 Add eTracker 2015-08-17 00:50:45 +02:00
Amauri CHAMPEAUX ff77e04b6c Add ShareASale 2015-08-06 17:06:10 +02:00
Amauri CHAMPEAUX d456b180e8 Add Microsoft Campaign Analytics 2015-08-06 16:33:56 +02:00
Amauri CHAMPEAUX a76028be3a Update version number 2015-08-06 14:08:54 +02:00
Amauri CHAMPEAUX 5ef24f3377 Add cookies list 2015-08-06 13:57:37 +02:00
Amauri CHAMPEAUX 88ad144d75 Dating Affiliation (popup) 2015-08-06 13:31:23 +02:00
Amauri CHAMPEAUX 13fc403631 Add dating affiliation 2015-08-06 12:55:17 +02:00
Amauri CHAMPEAUX c42c780da9 Add prelinker 2015-08-04 16:37:10 +02:00
Amauri CHAMPEAUX b7df84fbcb Add Wysistat 2015-07-20 14:24:48 +02:00
Amauri CHAMPEAUX fadcbfd56d Add PureChat 2015-06-19 16:48:40 +02:00
Amauri CHAMPEAUX 76f9824207 Add Google Adsense Premium 2015-06-10 12:05:56 +02:00
Amauri CHAMPEAUX 01ab6b0b46 Scroll feature only if the small alert is on 2015-06-07 19:01:55 +02:00
Amauri CHAMPEAUX d1c1635c62 New feature! Services are allowed when the user scroll down more than 2x is screen height 2015-06-07 18:48:23 +02:00
Amauri CHAMPEAUX 98e5588456 New feature! Services are allowed when the user scroll down more than 2x is screen height 2015-06-07 18:41:29 +02:00
Amauri CHAMPEAUX 9ad7e85539 Add Crazyegg 2015-05-29 18:20:01 +02:00
Amauri CHAMPEAUX f0cb12be1f Add Twenga 2015-05-29 17:40:33 +02:00
Amauri CHAMPEAUX e9bb89fa0a Remove the Google Maps Api key 2015-05-29 16:24:28 +02:00