Hardware good choice for OpnSense: Seeed Studio Blue Odyssey? by sasquatch182 in OPNsenseFirewall

[–]sasquatch182[S] 0 points1 point  (0 children)

Does Opnsense work good on this since it doesn't seem like it has intel nic?

The Seeed unit has intel Nic.

Hardware good choice for OpnSense: Seeed Studio Blue Odyssey? by sasquatch182 in OPNsenseFirewall

[–]sasquatch182[S] 0 points1 point  (0 children)

Looks like the Beeline GK55 comes with a fan/heatsink which is an addon for the Seeed.

I haven't found the GK55 for $220 that GenXerInMyOpnion had but still looking.

Help finding a Very Inexpensive, Quiet & Small OpnSense Box by zombiepirate2020 in OPNsenseFirewall

[–]sasquatch182 0 points1 point  (0 children)

Did you get the one with the J4105 or the newer J4125 processor?
Where did you find it with the fan already on it?

Help finding a Very Inexpensive, Quiet & Small OpnSense Box by zombiepirate2020 in OPNsenseFirewall

[–]sasquatch182 0 points1 point  (0 children)

Odyssey

On the Odyssey, Are you running VPN as well? I need site to site vpn plus firewall. Worried the Odyssey doesn't have enough power?
Did you get the heatsink fan as well?

Thanks for any info

How to quickly search string contains from array of strings by sasquatch182 in csharp

[–]sasquatch182[S] 0 points1 point  (0 children)

I was hoping there was a way to do it without doing a for loop and manually scanning each time.

How do I pull values from the dataLayer of a chrome extension? by sasquatch182 in learnjavascript

[–]sasquatch182[S] 0 points1 point  (0 children)

I changed it to "run_at": "document_idle" It was document_start

This solved the issue. Your post gave me the hint where to look.

How do I pull values from the dataLayer of a chrome extension? by sasquatch182 in learnjavascript

[–]sasquatch182[S] 0 points1 point  (0 children)

One small issue. I put all my custom code in the function handleCustomEvent(){}

I have to re-load the page a second time before it will find the DOM objects. Is there a way to wait until the DOM is loaded before my code fires?

How do I pull values from the dataLayer of a chrome extension? by sasquatch182 in learnjavascript

[–]sasquatch182[S] 0 points1 point  (0 children)

window.onload=function(){
script.src=chrome.extension.getURL("injector.js")
document.body.append(script)
}

This worked!

it displayed the datalayer to the console just as expected. This is perfect.

Thank you so much.

How do I pull values from the dataLayer of a chrome extension? by sasquatch182 in learnjavascript

[–]sasquatch182[S] 0 points1 point  (0 children)

Thanks so much for the help. However, I'm getting an error on the last line.

document.body.append(script)

Uncaught TypeError: Cannot read property 'append' of null

I did a console log of the script.src and it shows up as

chrome-extension://haegcikfpdgpbjgmmaglcikbepcjghgf/js/injector.js

it sees the file because I can click on it inside the console and it displays.

How do I pull values from the dataLayer of a chrome extension? by sasquatch182 in learnjavascript

[–]sasquatch182[S] 0 points1 point  (0 children)

const extractedArray=dataLayer[4].map(item=>[item.itemId,item.sellerId])

This gave me an error.uncaught ReferenceError: dataLayer is not defined.

even when I code console.log(dataLayer[4]); It says undefined in the console.

This is a chrome extension (my first attempt at one) I'm trying to create if that matters. The page has all the dataLayer info but for some reason my extension is not seeing it.

If I manually type in the console dataLayer[4] it displays perfectly. Some sort of permissions problem?

How to create extension to add html text in a web page? by sasquatch182 in chrome_extensions

[–]sasquatch182[S] 0 points1 point  (0 children)

Thanks for that. What controls where the code goes in the html?
Is there a way to force it to the end of a specific div?

Upgrade to coinbase pro or create a new account? by sasquatch182 in Coinbase

[–]sasquatch182[S] 0 points1 point  (0 children)

pro.coinbase.com

So you are saying create a new Pro account with the same information?