Qhov browser hauv zos cia nyob qhov twg?
Qhov browser hauv zos cia nyob qhov twg?

Video: Qhov browser hauv zos cia nyob qhov twg?

Video: Qhov browser hauv zos cia nyob qhov twg?
Video: David Yang - Koj Nyob Qhov Twg Ft. Hands Band (Prod. By Lytos) 2024, Kaum ib hlis
Anonim

Google Chrome sau Web khaws cia cov ntaub ntawv hauv SQLite cov ntaub ntawv hauv tus neeg siv qhov profile. Lub subfolder uas muaj cov ntaub ntawv no yog " AppData Hauv zos GoogleChromeUser DataDefault Chaw Cia "nws Qhov rai , thiab "~/Library/Application Support/Google/Chrome/Default/ Chaw Cia "hauv macOS.

Raws li, qhov chaw khaws cia hauv Chrome nyob qhov twg?

Nws yog qhov yooj yim. Tsuas yog mus rau cov cuab yeej tsim tawm los ntawm nias F12, tom qab ntawd mus rau Daim Ntawv Thov tab. Hauv Cia seem nthuav Chaw Cia . Tom qab ntawd, koj yuav saib tag nrho koj tus browser chaw cia khoom nyob ntawd.

Ib sab saum toj no, Kuv yuav siv browser li cas hauv zos cia? Txhawm rau siv localStorage hauv koj daim ntawv thov web, muaj tsib txoj hauv kev xaiv los ntawm:

  1. setItem(): Ntxiv qhov tseem ceeb thiab tus nqi rau localStorage.
  2. getItem(): Retrieve tus nqi los ntawm tus yuam sij los ntawm localStorage.
  3. removeItem(): Tshem ib yam khoom los ntawm tus yuam sij los ntawm localStorage.
  4. clear(): Clear tag nrho localStorage.

Hauv qhov no, qhov chaw khaws cia hauv browser yog dab tsi?

Hauv zos cia - Cov chaw cia khoom siv cov localStorage kwv yees khaws cov ntaub ntawv rau koj lub vev xaib tag nrho ntawm lub hauv paus ruaj khov. Qhov ntawd txhais tau tias khaws cia hauv zos cov ntaub ntawv yuav muaj nyob rau hnub tom ntej, lub lim tiam tom ntej, lossis xyoo tom ntej tshwj tsis yog koj tshem nws.

Puas yog qhov chaw khaws cia hauv zos sib koom ntawm browsers?

2 Teb. Local Storage yog "loj "hauv qhov tseeb browser thiab tsuas yog hauv qhov ntawd browser . Txhawm rau khaws ib yam dab tsi khaws cia hauv Chaw Cia , koj yuav tsum siv tib yam browser , tib tus yuam sij thiab muab nws los ntawm nplooj ntawv hauv tib lub hauv paus chiv keeb (xws li sau npe).

Pom zoo: