web qr-code scanner usage nimiq qr-scanner github - javascript

I tried to using this qr-scanner https://github.com/nimiq/qr-scanner
which works good but I don't get it to use the reading information. For example it displays me an URL fine but nothing more, cannot click on the displaying link, cannot safe it, cannot use it. Would be fine to get an auto redirect.
Maybe someone can help me to get next steps with this.
Thanks

Related

ACF and Vimeo Upload

I used plugin for https://bitbucket.org/jupitercow/acf-vimeo-uploader-field/src/master/ and unfortunelly it stopped working. Now "Select file" button doesn't make any action. API looks good. Console doesn't display any errors. Variables from JS return correct results. Do you have any ideas?
I would be grateful for any help.
See the last two issues:
It's a plugin bug, so you won't do much about it, unless you're programmer yourself. I'd suggest waiting for the author to fix it, or find a way to reach your goal without the need of having Vimeo upload field.

Using node to bring in a javascript page

I made a website that has about 400 lines of javascript code, on the front end. I want to put it on the back end so that when people visit the web page that uses the javascript, and click the submit button, only then does the website go to the server and use the necessary JS code, however with all the tutorials ive read and watched i cannot find anything specific to this, can anyone please help? thanks in advance

VBA Internet Explorer Download

First of all, I want to say that stackoverflow has helped me a GREAT deal with my current project, so thanks! But I have hit a point where I can no longer find help by skimming through previous questions. First, a little overview of what I'm doing.
At my job we have this extremely tedious process that we perform regularly, and I really want to automate it. The process is very basic, we go to a website, log-in, navigate to the appropriate page, copy and paste 6 values from excel into a form on the website, submit the form and download a specific output report. We repeat the process 60 times so this seemed like a prime candidate for Excel-Internet Explorer automation.
I built a pretty basic Excel Macro that can open up a new window with the appropriate URL, log-in, navigate to the correct page, fill in the form and submit the form, but I cannot figure out how to download the report. There is some added complexity to this, and I am just not familiar enough with Javascript, PHP ect. to figure out what is going on.
Problem: when I choose the correct report to generate, a new window pops-up with the generated report. This page is essentially empty when I click "View Source Document." There is a link to a Javascript page in the header, there is a little bit of CSS directly in the page, and like two tiny snippets of HTML. There is a download button on this page, but it doesn't look like it's being created in HTML.
QUESTION 1: Is this a Javascript application? Is there a way for me to simulate pressing the download button?
From what I understand, the complexity of my macro will increase substantially if I have to navigate between two IE windows, (not to mention there isn't an HTML link for me to click to download the spreadsheet) so I started to try and figure out a different way to do this. I looked at the URL of the new window with the generated report, and tried to analyze what was happening with Firefox's Developer tools (specifically Web Console). Here's where I get even more lost...
There are a series of "POSTS". These POSTS show up when the output is being created within the website:
POST https://www.website.com/somethingdb/quickframe/prod/#####/single_frame_results/correct_output.asp?THIS_KEY=370120c59da884dbdc375b1582a2142c1363533393a313335363032353737363a3646314a313937334a32353030303&bEmbedded=1
POST https://www.website.com/somethingdb/javascriptsource/prod/#####/website/forms/datagrid/DataGrid.html
POST https://www.website.com/qc?function=QuickFrameRmi
Then when I click the Download button, One POST and one GET show up:
POST https://www.website.com/qc?function=CorrectReport.generateExportFile
GET
GET https://www.website.com/somethingdb/quickframe/prod/#####/dlf/x6::370120c59da884dbdc375b1582a2142c1363533393a313335363032353737363a3646314a313937334a323530303031356026339.xls/sfn/RIGHTPAGE_scen_1_deal_cf.xls
The referrer for the GET looks like this:
https://www.website.com/somethingdb/quickframe/prod/#####/single_frame_results/correct_output.asp?THIS_KEY=370120c59da884dbdc375b1582a2142c1363533393a313335363032353737363a3646314a313937334a32353030303&sPagename=RIGHTPAGE&nScenarios=1&bShowExtendedFields=1&bShowAllCollats=0&ShowUnderlyingPage=0&sUnderlyingPage=&WebsitewrapDb=websitewrap&iSettleId=&bScrollbars=true&time=1356025839577
Like I said, my knowledge of these things is very limited but I do know that once I click on the download button, the GET from above is an actual file name that is stored on the website’s server. I can go into Excel, click on “Open” and put that file path in and it will download EXACTLY what I need.
So here is what I am thinking. If I could tell the website to simulate the download process, and log what that GET is, then I could just store that away, and when the Macro finishes generating all of the reports I need, it can just navigate back into Excel and set up a simple Loop to download all of them?? I have identified the portions of the GET that change:
x6::370120c59da884dbdc375b1582a2142c
63032353737363a3646314
6026339
This is my first post, so I apologize if I was too long winded in my back-story. Just wanted to be as clear as possible from the get go. I am wondering what is truly happening inside the website? Is what I am suggesting making sense? Is it possible? Is there a better way. Thanks in advance for any help.

Tweet button not appearing properly on blog

On my site here, the tweet button using code generated on Twitter.com works for the first few posts. Though after that, it fails to load and just shows the text.
I've been looking in the console for any JS errors but can't find any errors that might cause this.
May you please assist?
Thanks!
Every time your loaded your comments, also call twttr.widgets.load(); to force the twitter script to re-render all buttons.

Ajaxify's History and Bookmarking not working on Chrome?

Ajaxify is quite a well known jQuery plugin. But I just used Chrome and try this page:
http://max.jsrhost.com/ajaxify/demo.php
for the New v2 features: History & Bookmarking. When I click on Link 1, 2, and 3, and click the back button on Chrome, the content is not refreshed. So for now, this feature doesn't work on Chrome? Is it because the newest Chrome doesn't work well with it, but previous version of Chrome did?
I dont have the complete answer, but I can give you a start, as I am attempting to make it work as we speak..
The newest jquery.history.js file does work in chrome:
http://www.serpere.info/jquery-history-plugin/samples/ajax/
and, not to be putting down on ajaxify, I have used it for years, but I sometimes think it has been a bit of a crutch for me, not really learning the simplicity of ajax myself since 'Max' did such a sweet job with ajaxify itself.
I am currently just utilizing that little ajax demo from the history.js site itself, for my needs, its working just fine..but I am still trying to get ajaxify back..
It really seems simple, ajaxify is using the old history file, and a history.fixed.js file, and the both use the old style of historyInit() instead of the new history.init(), I spent a few minutes, ok hours, trying to get it to work, but could not, I am gonna give it a try again, but have just put in a email to 'Max' from ajaxify per his site:
http://max.jsrhost.com
but it didnt seem to send..
I will keep you posted!
(hats off to stackoverflow!! thank you thank you thank you for being you!!)

Categories