Comments (16)
Can you send me a link to an example?
Is the content of your iframe loaded from the same domain as spin.js?
from spin.js.
Hey I am sorry but I don't have a public link yet, but I can tell you that the iframe url is www.Adomain.com,
but all the markup, scripts and stylesheets within the iFrame load from www.Bdomain.com.
Also this works great on chrome and ie7+
from spin.js.
Update::
Hi,
Just wanted to give you an update that It hasn't been working on any firefox, Till now I was just trying on 7.0.x but I just tried on other Firefox versions and haven been getting the same security error on Line 64 of spin.js
Thanks
Dhaval
from spin.js.
I'm also having the same issue.
I think this is happening on Line 58 for me -- with respect to "sheet.insertRule"
It looks like a Cross-Domain issue. In my specific case, my JS/CSS are hosted on CDN (different domain).
from spin.js.
Hm, I wonder if inserting <style type="text/css">/* CSS rules here */</style>
would make any difference.
from spin.js.
Hi everyone! Could you please try this again with the current HEAD? It contains a fix for issue #39 which is probably related to this error.
I noticed that in FF documents.styleSheets[documents.styleSheets.length-1]
always is the Firebug CSS (if installed), which might also explain the security error. If that's the case, the patch for issue #39 should fix this, too.
from spin.js.
While it fixes the error in Firefox, this creates a new issue in Safari.
. line: 61
. message: "'undefined' is not an object (evaluating 'sheet.insertRule')"
. sourceId: 4743268672
. sourceURL: "http://localhost/lib/Javascript/spin.js"
from spin.js.
Unfortunately I still can't reproduce this issue. Viewing example.html (from the master branch) works in Safari (5.1.1) even if I load spin.js from another domain (raw.github.com vs. localhost) or include an external stylesheet. @phishbot Any chance you could post a link to a non-working example?
from spin.js.
One more idea how this can be fixed — 974cdd3#commitcomment-681824
from spin.js.
I pushed another version to the master branch which uses the sheet
or styleSheet
property of the inserted style
element. Still needs some more cross-browser testing. Let me know whether this works for you.
from spin.js.
This is still an issue for me in Firefox 7.0; it works fine in Firefox 3.6 , Chrome, and Safari.
You can see it broken here:
http://beta.tumblecloud.com/cloudpage/?cloud=438
from spin.js.
One note : it works if you have Firebug up, but is broken without it.
from spin.js.
here is another test link which is more accurate
http://unstable.dev.tumblecloud.com/cloudpage/?cloud=4705&
from spin.js.
@phishbot http://unstable.dev.tumblecloud.com/lib/Javascript/spin.js doesn't seem to contain the fix from 930bae7
from spin.js.
woops! it looks like it did fix all our issues with it. Thanks eych!
from spin.js.
thx
from spin.js.
Related Issues (20)
- Spin do not show animation in UI after updating Bootstrap and jQuery HOT 2
- please make sure newest versions are CDNs. HOT 7
- Since I upgrade the script the spin does not stop anymore.. HOT 4
- Pointers on how to use in Vue HOT 1
- problem
- div issue / undefined HOT 1
- Spinner looks weird when centered on odd number parent container widths... HOT 1
- NO spin.js HOT 2
- IE 11 Spinner Not Showing HOT 2
- Need to change spinner color HOT 1
- Sveltekit Vite error: SyntaxError: Unexpected token 'export'
- browserify HOT 1
- Uncaught SyntaxError: Unexpected token 'export' (at spin.js:82:1) HOT 2
- add mask
- Improving Documentation Website Font Legibility and Design
- Spinner Percentage Not Increase Continously In Increasing Order
- How Can I Remove Spinner In Spin.js? HOT 1
- spin.js module not recognized
- Invoking spinner before a "promise" not working HOT 5
- Clarification needed: how can I run spin.js options file detailed on website?
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 spin.js.