/    Sign up×
Community /Pin to ProfileBookmark

"never show this page again" – how can I do this?

I’m trying to figure out to to “never show this page” to a user. Can anybody point me in the right direction?

Thanks

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@silent11Apr 02.2004 — the first time a user views the page ( assuming you want to do this with JavaScript and assuming they have JavaScript enabled ) set a client-side cookie. Next time he/she goes to the page first check to see if they have the cookie, if they do redirect them to the page you want them to see. You could also control what they see on the page according to the cookies without having to redirect.
Copy linkTweet thisAlerts:
@pistol-peteauthorApr 02.2004 — thanks for your help.

I wanna have a popup. In the popup, it will have "Don't Show Again" and "Close". I think what you mentioned should work.
×

Success!

Help @pistol-pete spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...