Comments (4)
sorry forgot about this.
Yes your right so I fixed it.
from harmon.
Hey @No9! I was trying the rotate example. It still replaces all the contents inside the head tag. Is it just me or the example isn't fixed?
from harmon.
Hi @tarkeshwars
Yes it replaces all the content inside the head but not the head tag itself.
That was the issue here.
If you want an example of how you can manipulate the contents of a tag see
https://github.com/No9/harmon/blob/master/examples/doge.js
Thanks
from harmon.
My bad! But the rotate example has confusing comments. I think they should
be fixed. I got around to looking at the doge file and that was exactly
what I needed. So thanks :)
On Sun, Jul 19, 2015, 12:43 AM Anton Whalley [email protected]
wrote:
Hi @tarkeshwars https://github.com/tarkeshwars
Yes it replaces all the content inside the head but not the head tag
itself.
That was the issue here.
If you want an example of how you can manipulate the contents of a tag see
https://github.com/No9/harmon/blob/master/examples/doge.jsThanks
—
Reply to this email directly or view it on GitHub
#16 (comment).
from harmon.
Related Issues (20)
- how to use harmon on specify url HOT 1
- prepareRequestSelectors HOT 1
- Dealing with bad html HOT 9
- How to use in non-html? HOT 2
- Connection hangs for very generic selectors HOT 6
- doge.js is redirecting to original site with no injection HOT 7
- Request hangs
- gzip content length issue HOT 2
- Proxy a m3u8 file HOT 1
- Variable Targets
- Use with browsersync HOT 2
- js/css filter with query params HOT 2
- Doesn't work nowadays? Examples and tests fail HOT 9
- Replacing the value inside an element HOT 3
- write() getting called before writeHead() on gzip'd content causes failures HOT 2
- help w/ hello world, they don't require harmon? HOT 1
- got error on zlib HOT 1
- No selector callbacks being invoked for certain sites HOT 2
- How to modify a file from a response
- Content Length not deleted on HTML rewrite if HTML Only HOT 2
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 harmon.