navigator.serviceWorker.register('/service-worker.js').then(function(registration) { console.log('Service Worker registered with scope:', registration.scope); }).catch(function(error) { console.log('Service Worker registration failed:', error); }); // 监听来自 Service Worker 的消息 navigator.serviceWorker.addEventListener('message', (event) => { const currentSite = event.data.currentSite if (currentSite) { // 将 currentSite 存储到 cookie 中 document.cookie = "current_site="+ currentSite + "; path=/; Secure"//注意这里不需要再次编码,sw已经编码过了 console.log('current_site saved to cookie in index:', currentSite) } });

Advertising on YachtHarbour


Launched in December 2014, Yacht Harbour has become a trusted online ressource in the yachting sector.
With a focus on data and accurate information, Yacht Harbour covers yachting news every day and holds a leading database of over 1000 superyachts for sale and for charter.



Audience

Travel
enthusiasts
UHNWIs
Brokers, Shipyards, Marinas
Captains
and crew
Owners
VHNWIs
Returning users

Monthly Reach

Google+
YachtHarbour.com
Instagram
DuckDuckGo
Snapchat
Vine
Pinterest
Instagram
2500000
impressions
Twitter
17700
impressions
DuckDuckGo
9000
queries
Snapchat
50000
views
Facebook
2700000
views
Vine
13500
loops
Google+
50000
views
Pinterest
455000
impressions
Email
5000
subscribers
YachtHarbour.com
250000
page views

6 086 700 impressions

Price list

For more information about advertising
Contact us