I've got a error message on the manifest.json file - json

I've been working on this manifest.json file and I got this error. I don't know what to do. I should be very happy if somebody can explain what should I do to fix it, please.
When you want to see the picture of code(error message)just click on the text and you are gonna be able to see it. Thank you so much.[

You are missing a comma after
"version": "0.0.1"

Related

Expected comma or closing bracketjson(517) flutter vsccode

I am working in a JSON file and everything was working well, then suddenly an error showed up: Expected comma or closing bracketjson(517) , I haven't changed anything and also I clicked ctrl+z but it still the same, what is the problem? is it related to another file or the IDE? There is no clue. I appreciate you help.
{
"content":"",
"type":""
}

How to use alternate_urls setting in manifest

I've been trying for quite some time to understand this:
In the Chrome settings documentation they claim to have an alternate_url option in the JSON:
"alternate_urls": [
"http://www.moo.__MSG_url_domain__/s?q={searchTerms}",
"http://www.noo.__MSG_url_domain__/s?q={searchTerms}"
],
However, I couldn't find anywhere in the documentation how am I suppoused to use this.
I've tried setting the search_url to a page that returns 500,404 errors and you would expect the alternate URL to work, but it didn't.
Does anyone know how do I get it to use the alternate URL or what does it use for?
Thanks in advance,
Eric

How to properly create a pdf with fpdf?

I have some code to try to create a single PDF document but i can't do it.
code :
<%# language="vbscript"%>
<!--#include file="fpdf.asp"-->
<%
if Request.form("test") <> "" Then
Set pdf=CreateJsObject("FPDF")
pdf.CreatePDF()
pdf.SetPath("fpdf/")
pdf.SetFont "Arial","",16
pdf.Open()
pdf.AddPage()
pdf.Cell 40,10,"Hello Word!"
pdf.Close()
pdf.Output("list.pdf","T")
End If
%>
So, (dont mind with the request.form for execute..lol)
when i click the button i get :
"FPDF error: Unable to create output file: list.pdf"
I've tried some sites for help and done alot of things and searched here on stack and found some useful things but nothing directed to this ...
Any help would be appreciated ! I can try to answer any questions you may have about the code or something else.
Also, if you have another solution for creating PDF's with classic ASP, please lemme know (free or very low price)
Thanks for your attention !
I've specified the path of Output to a VIRTUAL location and it Works great !
Thanks Every one for your help !
Best Regards

Watir-Webdriver : take screenshot upon error/exception/fail. How to?

I am new to Watir-Webdriver. I have written a function to take the screenshot and it works fine. My problem is I need to call the method, upon any error/exception or fail happening during my testcase execution. I have googled it and couldn't find anything related. I have tried rescue block but it doesn't work for me. Any help is appreciated.
Thanks,
Alex
Alister Scott has this about getting screenshots on WatirMelon when using cucumber:
After do |scenario|
if scenario.failed?
Dir::mkdir('screenshots') if not File.directory?('screenshots')
screenshot = "./screenshots/FAILED_#{scenario.name.gsub(' ','_').gsub(/[^0-9A-Za-z_]/, '')}.png"
Browser::BROWSER.driver.save_screenshot(screenshot)
embed screenshot, 'image/png'
end
end

fbexternal-a.akamaihd.net/safe_image.php returns a 1x1 image

In my facebook reader app my picture sometimes doesn't show, this is because of fbexternal-a.akamaihd.net/safe_image.php won't render it.
I've taken the links from the JSON below, it's ony the relevant part of the JSON reply.
"message": "http://www.youtube.com/watch?v=RJer7-eAy3o",
"picture": "https://fbexternal-a.akamaihd.net/safe_image.php?d=AQCMr5crfpv0x3lm&w=130&h=130&url=http\u00253A\u00252F\u00252Fi3.ytimg.com\u00252Fvi\u00252FRJer7-eAy3o\u00252Fmqdefault.jpg",
"link": "http://www.youtube.com/watch?v=RJer7-eAy3o",
"source": "http://www.youtube.com/v/RJer7-eAy3o?version=3&autohide=1&autoplay=1",
"name": "Dougie MacLean - Broken Wings",
"caption": "www.youtube.com",
"description": "Dougie MacLean's 'Broken Wings' performed with strings at The Perthshire Amber Festival, October 2005.",
"icon": "https://s-static.ak.facebook.com/rsrc.php/v2/yj/r/v2OnaTyTQZE.gif"
The problem is the https://fbexternal-a.akamaihd.net/safe_image.php?d=AQCMr5crfpv0x3lm&w=130&h=130&url=http\u00253A\u00252F\u00252Fi3.ytimg.com\u00252Fvi\u00252FRJer7-eAy3o\u00252Fmqdefault.jpg part.
If I visit http://i3.ytimg.com/u00252Fvi/RJer7-eAy3o/mqdefault.jpg it shows the correct image, so that can't be the problem. Am I doing something wrong or is the safe_image.php just buggy and should I just strip the url to it's original url and use that?
Tnx and greets,
Sjaak
I also get into a similar problem. My problem is because of the image name has a "space" in it. so it is not appear in the facebook debugger and also in sharing. But i checked with your problem, there is no space in it. so its not the solution for the above problem. It will help another one similar to my issue.
I fixed the issue by replace space with hyphen("-") through coding part. After that i debug the url in facebook debugger, it appears. That means Facebook wont show the image name with "space". But there is no logical reason behind this. Anyway it will help someone.
For more information check this answer posted by Patrick D'appollonio. It helps me.