Displaying plaintext in a relay script

Is there any way I can use a relay script to display the contents of a plain text file which is hosted locally on my machine?

So far the only way I've been able to implement this is to edit the file to include line numbers, so I can load it as an integer keyed map. This isn't very helpful if I want to regularly manually edit the file though.

(The purpose of this is so that I can easily pull up an ascension plan in my relay rightpane)
 

xKiv

Active member
You could probably inject an iframe with src="file://c:/something/blablabla/you/should/get/the/idea/name.txt". I can't guarantee that it will work, though.
 
No, that was the first thing I tried :(

Turns out most browsers won't let you load a local file in an iframe from an http request, for fairly obvious security reasons.
 

xKiv

Active member
put it in $mafia/images/relayimages/something/file.txt and src="/images/relayimages/something/file.txt"?
 
Top