I am working on a BookMarker project for managing my bookmarks. I was
creating the search page for lisitng bookmarks as per categories. I hit a
snag while testing it. I am unable to open locally stored webpages. I
understand that it is for security purposes but is it possible
(cross-browser way
On Tue, 2014-05-20 at 11:29 -0700, Aseem Bansal wrote:
> I am working on a BookMarker project for managing my bookmarks. I was
> creating the search page for lisitng bookmarks as per categories. I
> hit a snag while testing it. I am unable to open locally stored
> webpages. I understand that it is
I am running with DEBUG=TRUE so far
On Wednesday, May 21, 2014 12:10:02 AM UTC+5:30, Adam wrote:
>
> On Tue, 2014-05-20 at 11:29 -0700, Aseem Bansal wrote:
>
> I am working on a BookMarker project for managing my bookmarks. I was
> creating the search page for lisitng bookmarks as per categorie
On Tuesday, 20 May 2014 19:29:06 UTC+1, Aseem Bansal wrote:
>
> I am working on a BookMarker project for managing my bookmarks. I was
> creating the search page for lisitng bookmarks as per categories. I hit a
> snag while testing it. I am unable to open locally stored webpages. I
> understand t
I want the the webpage served to the client machine from the server to have
a hyperlink. The hyperlink will be for a html file stored on the client
machine. After the webpage has been served to the client webbrowser then
when the client user clicks on the hyperlink I want the html page to be
op
The server will not be able to open pages stored on client machine but the
client user should be able to open html pages stored on client machine by
clicking on a hyperlink manually.
On Thursday, May 22, 2014 10:02:52 PM UTC+5:30, Aseem Bansal wrote:
>
> I want the the webpage served to the cli
You can do this with a 'file://...' url, that will cause the browser to open a
file on the local file system, the browser won't need to ask for permission,
the only issue is that the files will need to be in a known path.
François
On May 22, 2014, at 12:34 PM, Aseem Bansal wrote:
> The server
I understand the requirement of file protocol. That's how I keep bookmarks
in Chrome currently. But when I served the same as a hyperlink I am getting Not
allowed to load local resource:
On Thursday, May 22, 2014 10:14:39 PM UTC+5:30, François Schiettecatte
wrote:
>
> You can do this with a 'fi
Errors without code aren't very useful. If you provide the view and
template you are rendering it will give us something to latch onto and debug
Kirby
On Thursday, May 22, 2014 12:23:06 PM UTC-5, Aseem Bansal wrote:
>
> I understand the requirement of file protocol. That's how I keep bookmarks
It would also help to know what is giving the error.
I did a quick google search with the text of the error (which you could have
done), it looks like browsers are not keen on accessing 'file://...' urls from
a web page served by a web server, this for security reasons. For kicks, I
embedded a
Here is the code so far. I have just kept Bootstrap and JQuery ignored in
git. Rest is there
https://github.com/anshbansal/Bookmarker
On Thursday, May 22, 2014 11:09:09 PM UTC+5:30, C. Kirby wrote:
>
> Errors without code aren't very useful. If you provide the view and
> template you are render
The error is coming in Chrome's console not in Python/Django when I try to
click on the link in my webbrowser. The HTML generated is below
Python 3.4 Docs
On Thursday, May 22, 2014 11:30:31 PM UTC+5:30, Aseem Bansal wrote:
>
> Here is the code so far. I have just kept Bootstrap and JQuery i
Well ok, this is not a django issue. Like I said in my previous email the
browser is blocking this for security/sandboxing issue. You could start chrome
with security ( see
http://superuser.com/questions/593726/is-it-possible-to-run-chrome-with-and-without-web-security-at-the-same-time
) and se
I had searched that but there should be a way to give permissions. The
client can give the permissions. Can the client not?
On Thursday, May 22, 2014 11:28:59 PM UTC+5:30, François Schiettecatte
wrote:
>
> It would also help to know what is giving the error.
>
> I did a quick google search with
See my previous email, you can get chrome to launch with securities turned off
(and Chromium too with the same command line argument), but not Firefox or
Safari, not sure about IE. Not even sure if the flag I mentioned will help in
this specific case.
And I am not sure about the wisdom of runni
There has to be a workaround. Using webbrowser.open via a request to the
server on clicking? That's hacky but I started working on Django for this
project and if web browsers cannot do this then I made a wrong choice for
the technology to use for this project.
On Thursday, May 22, 2014 11:46
There are not really any workarounds, just different architecture - save
your bookmarks to the django project instead of on the local filesystem.
You can also look into using html5 local storage. Just note that either of
these architecture changes would mean rolling your own bookmark system
ins
This bookmarker that I want to make will be th repacement for my
webbrowser's boomarks so I will be storing the bookmarks in sqlite DB. As
per my understanding using html5 local storage is more of a temporary
storage. A sqlite3 db will be portable hence keeping my bookmarks with me
in case I wa
If they are always going to be on the same machine then why don't you open
the file on the view side and render it as text to the browser?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
You are not going to get a work-around to a page being served by a web server
not having access to the local file system, that would be a serious bug in the
browser security model.
What you can do is have the webpage be a file on your drive, open that with a
browser (locally, not via a web serv
I am averse to doing that because I have offline bookmarks like the Python
documentation also which contain a lot of links. If I rendered it as text
then this problem will go in an loop. The browser will not allow any of the
rendered links on that page to be opened. So a solution is needed. That
Just wanted to say that window.open failed for locally stored files. Guess
browser security is good in Chrome.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to d
I guess I should tell that the thing worked. Using server to open the web
pages worked. I made ajax calls via jQuery to the server and used code
there to do the rest. A bummer out of way. Just adding here in case someone
is doing the same thing in future. :D
--
You received this message becaus
23 matches
Mail list logo