Comments (4)
Yes please!
from ep_tables.
+1
from ep_tables.
Instead of writing yahoo links with the protocol, you can do it like this:
background-image:url( //yui.yahooapis.com/....;
Without the 'http:', your browser will choose between http and https depending of the protocol used for your pad.
But the other problem is that since several months, the access to yahoo apis seem to be unstable
(https://developer.yahoo.com/forum/OAuth-General-Discussion-YDN-SDKs/http-social-yahooapis-com-Will-be-right-back/1395509802423-89faffa2-1503-486d-bc29-6505719bd774)
And just now, for the version 2.9.0 used by this plugin, I can only access the http and not the https files (well done Yahoo!!!)
I downloaded the yahoo api from github (https://github.com/yui/yui2/) and put it locally (the v2.8 coz 2.9 doesn't seem to exist there), change all the links in the files.
The page loaded well, no more errors from http <-> https problem, but then, when clicking the table button I had this error:
- In Firefox / Iceweasel
[WARN] client - Error: Permission denied to access property 'templatesMenu' -- { errorId: 'R5QyAaK47KRl4Ud5D7SU',
msg: 'Error: Permission denied to access property \'templatesMenu\'',
url: 'https://pad.xxxx.net/p/g.1xV8WVJ5X7O9M',
linenumber: 3,
userAgent: 'Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 Iceweasel/30.0a2' }
- In Chrome:
[WARN] client - Uncaught SecurityError: Blocked a frame with origin "https://pad.xxxx.net" from accessing a cross-origin frame. -- { errorId: 'B6nwAAyjxVpNkpKvY2Bp',
msg: 'Uncaught SecurityError: Blocked a frame with origin "https://pad.xxxx.net" from accessing a cross-origin frame.',
url: 'https://pad.xxxxx.net/p/g.1xV8WVJ5X7O9M',
linenumber: 4,
userAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.132 Safari/537.36' }
I tried also with a more recent version of the yahoo api (3.2) as v2.9 is 3 years old, but then lots of changes were done and files are missing (well under another name or merged inside another one or ..).
With the error in Firefox, I searched for 'templatesMenu', found it in statis/js/dataTables.js (line 17) and removed it, but still the same error (??)
I also tried the modified version of this plugin by xshadow (https://github.com/xshadow/ep_tables/tree/47307c4b4b6f2aadee5a53588d02c6c4f0ce85df) that says "Etherpad Lite Tables plugin with full https support" but no luck (he didn't change any yahoo link to remove the http part?!).
I'm very sad, but I wasn't able to make it work.
If anyone has another idea, I'm all ears :)
from ep_tables.
Well, it appears that is was a good solution to bring the yahoo api locally.
There arent so many yahoo references to modify.
After being sure to have clear all caches, I didn't have any http <-> https problems.
The error I told just after, I fixed it. See #12
from ep_tables.
Related Issues (14)
- Initial Feedbacks HOT 1
- ep_tables plugin breaks the pad timeslider HOT 6
- Firefox throws error in firebug: Error: Permission denied to access property 'templatesMenu' HOT 2
- Export
- doesn't work with v1.2.9 HOT 2
- No License specified HOT 1
- ep_tables is dead.. long life ep_tables2 (new repo) HOT 2
- Table plugin does not work HOT 7
- partial table deletion replaces content with "payload: ..."
- Menu not closing HOT 1
- First table cell has a blue border. This is strange and should be repaired. HOT 2
- Close "Table" button on second click
- borders in the table do not collapse. Should have border-collapse:collapse property HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ep_tables.