This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tikkurilaRalColors = [ | |
{ | |
"name": "RAL 1000 Green beige", | |
"url": "https:\/\/tikkurila.fi\/varit\/green-beige-ral-1000", | |
"hex": "#CBBB89", | |
"rgb": "rgb(203, 187, 137)" | |
}, | |
{ | |
"name": "RAL 1001 Beige", | |
"url": "https:\/\/tikkurila.fi\/varit\/beige-ral-1001", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Use the Redirector Chrome plugin to redirect to your local site. | |
// Catch AD URLs like https://www.googleadservices.com/pagead/aclk?sa=L&ai=CPeysfenknZ5HpCCI2yiM0PtbaegA... | |
// Check if 'adurl' parameter exists in the URL query string | |
if (isset($_GET['adurl'])) { | |
$adUrl = $_GET['adurl']; | |
// Basic validation to ensure it's a HTTP/HTTPS URL | |
if (preg_match('/^(http|https):\/\//', $adUrl)) { | |
// Redirect browser to the extracted ad URL |

OlderNewer