This is my script
<a name="pack,1,SER_260,NZ vs SL Series,,,yes,PITEM_233,PDATA_234,no" href="javascript:void(0);" onclick="playLink(this);" style="text-decoration:none;">NZ vs SL Series</a>
In this moment when I click on this link it opened rtmp link like this
rtsp://10.62.230.21:554/livefeed/SLVSNZ_QVGA.sdp?msd=94775447908&pi=&pd=&sn=NZvsSLSeries&b=3G&os=WAP&cn=&m=GT-I9505&mcc=&mnc=&v=1.14&lac=&cid=&op=Dialog&st=1&sid=&pid=#00INY0091&stamp=3659098938&sign=a308650741b841c2add44629c15d0ec1
The thing I want to do is not open the link the thing that I want to do is save this URL as a text File or m3u File.Please help me guys.I would be happy to have a example here because I'm not a genius in this field and Any other idea and solutions will be accepted.The only thing that I want to do is saving or showing the URL not opening .Thank You.
Related
Why is this not working:
download.html
download
The jsplogin.jar file is in the same folder has the download.html file.
when I click the download link the file jsplogin.jar should download
but its trying to open the file in the browser.
when I right clicked on the link and selected "save link" nothing is happening.
In HTML5, in most browsers you can add a 'download' attribute to the a element.
for example:
<a href="http://www.example.com/index.html" download>Download</a>
Based on this question. How can I create download link in html?
Use the "download" attribute:
<a href="jsplogin.jar" download>download</a>
The download attribute didn't work for me, but this did:
Download
The opens a new tab but downloads the file and closes the tab once it realizes it's not a file type it should render. In my case it was a .csv, I did not test with .jar but i imagine you'd get the same result.
I want to use javascript to automatically download a video file given a url that contains the link to the video. So far I have tried the approach of using <a href='somelink' download> but when I click on the link it will open a new tab containing the video instead of downloading it. Is there a way to write a script that automatically does the job that the video tag control options does? Like the picture shown below, can I write javascript to trigger the event on the download button? Thanks.
This might helpful.
document.getElementById("myCheck").click();
<a download="name_of_downloaded_file" href="https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4" id="myCheck"> Clicking on this link will force download the file</a>
Use target=”_blank” along with anchor tag with download option to prevent streaming files directly in browsers on desktop and android or iOS (iPhone) devices.
<a href='somelink' download target=”_blank”>
Here is the reference
Consider a very simple link to a pdf file in HTML:
<a target="_blank" href="mypdf.pdf">Link to pdf</a>
Of course, when the user clicks on the link, the pdf is open and the first page is shown in the browser.
Is there a way create a link to a specific page of the pdf? I was wondering if there is some command like this:
<a target="_blank" href="mypdf.pdf#11">Link to page 11 of the pdf</a>
or some trick based on Javascript.
I found answer on adobe forum https://forums.adobe.com/thread/2345594.
After # you should write something like #page=3 for example, to move automatically to page 3.
The following should do the trick
<a target="_blank" href="http://www.exampleurl.com/file.pdf#page=4">
You can also do chapters if needed but this needs a correctly formatted PDF.
Thanks
I have a webpage that has two links to download pdf and excel files,
<a onclick="window.open('Files/Creditcard.xlsx')" >Clickhere excel</a>
<a onclick="window.open('Files/Creditcard.pdf')" >Clickhere pdf</a>
While clicking on Clickhere pdf it is opening in webpage itself, which is the actual requirement. But coming to Clickhere excel it is downloading instead of showing in webpage. Is it not possible to show the excel in webpage? If we can, please help..
Thanks Inadvance.
Have you tried setting the target of your link?
http://www.w3schools.com/tags/att_a_target.asp
One possible solution i found is, save the excel as a webpage(any how i just want to view the content not to download). So that content can be viewed in the webpage it self..
I have ppt file in the href attribute of an anchor tag.If i click on the Anchor tag the file should open in Full screen.I tried by saving the ppt file in different Formats but nothing worked. Please let me know if any way to do that in Html or using Javascript.
Ppt is not an HTML standard so you can't expect to see it in the web page properly, but only if you have a proper viewer installed in the computer, but you can't predict it's behaviour.
Why not export the ppt to HTML and then point a link to it with target="_blank"?
Upload your PowerPoint to Scribd and you can use their API to show it on your website without any add-ons or special software.