how does pastie or any other site remember browser info
-
22-09-2019 - |
문제
I am trying to make a simple experimental app. I'd like for it to behave like pastie.
On pasite you can paste code and it will remember your browser.
So if you paste the url (that pastie provides) in the same browser then you'll be able to edit the page. Everyone else will not see the edit link. Basically there is no registration or logging in.
How is this done?
해결책
이것은 당신이 가진 것입니다 :
.error {
border: 1px solid black;
display: inline-block;
margin-left: 20%;
margin-right: 20%;
position: fixed;
top: 0;
width: 100%;
}
.
이 일을 시도하십시오 :
.error {
border: 1px solid black;
margin-left: 20%;
margin-right: 20%;
top: 0;
}
. 제휴하지 않습니다 StackOverflow