
Cookies与UserAgent获取 sγur 治电小白菜
辅助抓取网站登陆后有效Cookies和UserAgent
Ilaq-ak·am Firefox i useqdec n usiɣzef-a
Asiɣzef aɣefisefka
Tuṭṭfiwin n wegdil

Ɣef usiɣzef agi
可通过右键获取当前页面的Cookies和UserAgent
也可通过主页面发送
也可通过主页面发送
window.parent.postMessage({type: 'tab', level: 'main'}, '*');
, 来告知插件主页面ID, 这样在其他页面右键点击发送Cookies和UA到主页面时, 即可将Cookies和UserAgent发送给主页面, 主页面只需要通过mutationObserver监听 id 为 "cookie-block" 的DOM元素变化即可
const cookiesBlock = document.getElementById('cookie-block')
if (!cookiesBlock) return
const config = {
attributes: true,
childList: true,
subtree: true
}
const callback = function(mutationsList, observer) {
for (let mutation of mutationsList) {
if (mutation.type === 'childList') {
console.log(JSON.parse(cookiesBlock.innerText))
}
}
}
const observer = new MutationObserver(callback)
observer.observe(cookiesBlock, config)
Sezmel tarmit-ik
TisiragIssin ugar
Azegrir-a yesra:
- Ad k-d-isken ilɣa
- Kcem γer icarren n iminig
- Kcem ɣer urmud n yiminig mi ara tettinigeḍ
- Kcem ɣer isefka-inek deg ismal web meṛṛa
Ugar n telɣut
- TigIseɣwan n uzegrir
- Lqem
- 0.0.3
- Teɣzi
- 19,5 KB
- Aleqqem aneggaru
- 6 jierren lyn (30 sep. 2019)
- Taggayin i ilan assaɣ
- Turagt
- Turagt tazayezt n Mozilla 2.0
- Amazray n Lqem
Rnu ar tegrumma
Ugar n isiɣzaf sɣur 治电小白菜
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura
- Ulac tazmilt akka tura