MCPcopy Index your code
hub / github.com/FastForwardTeam/FastForward / get

Method get

src/js/injection_script.js:322–337  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

320 constructor() { }
321 //returns an ffclipboard entry, if id does not exist, returns null
322 static get(id) {
323 try {
324 var ffClipboardObj = JSON.parse(ffClipboard_stored)
325 } catch (e) {
326 return null
327 }
328 if (ffClipboardObj) {
329 if (ffClipboardObj[id]) {
330 return ffClipboardObj[id]
331 } else {
332 return null
333 }
334 } else {
335 return null
336 }
337 }
338 //sets ffclipboard contents, if id does not exist, creates it
339 static set(id, value) {
340 try {

Callers 14

linkvertise.jsFile · 0.80
content_script.jsFile · 0.80
background.jsFile · 0.80
sFunction · 0.80
options.jsFile · 0.80
before-navigate.jsFile · 0.80
when_safeFunction · 0.80
closetimerFunction · 0.80
crowd-bypassed.jsFile · 0.80
ace.jsFile · 0.80
aFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected